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

Packages that use SourceUnit
groovy.ui An interactive command line terminal along with a Swing console for evaluating Groovy scripts. 
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 groovy.ui
 

Fields in groovy.ui declared as SourceUnit
private  SourceUnit InteractiveShell.parser
           
 

Uses of SourceUnit in org.codehaus.groovy.ast
 

Fields in org.codehaus.groovy.ast declared as SourceUnit
private  SourceUnit ModuleNode.context
           
 

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
static SourceUnit SourceUnit.create(java.lang.String name, java.lang.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(java.lang.String name, java.lang.String source, int tolerance)
          A convenience routine to create a standalone SourceUnit on a String with defaults for almost everything that is configurable.
 SourceUnit CompilationUnit.addSource(java.io.File file)
          Adds a source file to the unit.
 SourceUnit CompilationUnit.addSource(java.net.URL url)
          Adds a source file to the unit.
 SourceUnit CompilationUnit.addSource(java.lang.String name, java.io.InputStream stream)
          Adds a InputStream source to the unit.
 SourceUnit CompilationUnit.addSource(SourceUnit source)
          Adds a SourceUnit to the unit.
 

Methods in org.codehaus.groovy.control with parameters of type SourceUnit
 Reduction ParserPlugin.parseCST(SourceUnit sourceUnit, java.io.Reader reader)
           
 ModuleNode ParserPlugin.buildAST(SourceUnit sourceUnit, java.lang.ClassLoader classLoader, Reduction cst)
           
 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)
           
 Reduction ClassicParserPlugin.parseCST(SourceUnit sourceUnit, java.io.Reader reader)
           
 ModuleNode ClassicParserPlugin.buildAST(SourceUnit sourceUnit, java.lang.ClassLoader classLoader, Reduction cst)
           
 

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

Fields in org.codehaus.groovy.syntax.parser declared as SourceUnit
private  SourceUnit Parser.controller
           
private  SourceUnit ASTHelper.controller
          The SourceUnit controlling us
 

Methods in org.codehaus.groovy.syntax.parser that return SourceUnit
 SourceUnit ASTHelper.getController()
           
 

Methods in org.codehaus.groovy.syntax.parser with parameters of type SourceUnit
 void ASTHelper.setController(SourceUnit controller)
           
 

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



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