Uses of Class
org.codehaus.groovy.control.SourceUnit

Packages that use SourceUnit
org.codehaus.groovy.ast Groovy AST nodes for the syntax of the language 
org.codehaus.groovy.control   
org.codehaus.groovy.syntax.parser The main parser of Groovy code into the Groovy AST model (Abstract Syntax Tree)  
 

Uses of SourceUnit in org.codehaus.groovy.ast
 

Methods in org.codehaus.groovy.ast that return SourceUnit
 SourceUnit ModuleNode.getContext()
           
 

Constructors in org.codehaus.groovy.ast with parameters of type SourceUnit
ModuleNode(SourceUnit context)
           
 

Uses of SourceUnit in org.codehaus.groovy.control
 

Methods in org.codehaus.groovy.control that return SourceUnit
 SourceUnit CompilationUnit.addSource(File file)
          Adds a source file to the unit.
 SourceUnit CompilationUnit.addSource(URL url)
          Adds a source file to the unit.
 SourceUnit CompilationUnit.addSource(String name, InputStream stream)
          Adds a InputStream source to the unit.
 SourceUnit CompilationUnit.addSource(SourceUnit source)
          Adds a SourceUnit to the unit.
static SourceUnit SourceUnit.create(String name, String source)
          A convenience routine to create a standalone SourceUnit on a String with defaults for almost everything that is configurable.
static SourceUnit SourceUnit.create(String name, String source, int tolerance)
          A convenience routine to create a standalone SourceUnit on a String with defaults for almost everything that is configurable.
 

Methods in org.codehaus.groovy.control with parameters of type SourceUnit
 SourceUnit CompilationUnit.addSource(SourceUnit source)
          Adds a SourceUnit to the unit.
abstract  void CompilationUnit.LoopBodyForSourceUnitOperations.call(SourceUnit source)
           
abstract  void CompilationUnit.LoopBodyForPrimaryClassNodeOperations.call(SourceUnit source, GeneratorContext context, ClassNode classNode)
           
 

Uses of SourceUnit in org.codehaus.groovy.syntax.parser
 

Constructors in org.codehaus.groovy.syntax.parser with parameters of type SourceUnit
ASTBuilder(SourceUnit sourceUnit, ClassLoader classLoader)
          Initializes the ASTBuilder.
Parser(SourceUnit controller, TokenStream tokenStream)
          Sets the Parser to process a TokenStream, under control of the specified SourceUnit.
 



Copyright © 2003-2004 The Codehaus. All Rights Reserved.