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

Packages that use SourceUnit
groovy.beans   
groovy.grape   
groovy.lang Core Groovy language classes for implementing data structures, closures, metadata and so forth. 
groovy.ui An interactive command line terminal along with a Swing console for evaluating Groovy scripts. 
org.codehaus.groovy.antlr Parser related classes. 
org.codehaus.groovy.ast Groovy AST nodes for the syntax of the language 
org.codehaus.groovy.classgen Generates Java classes for Groovy classes using ASM. 
org.codehaus.groovy.control Compiler control classes. 
org.codehaus.groovy.control.messages Error message classes. 
org.codehaus.groovy.syntax Lexer, parser and trees. 
org.codehaus.groovy.tools.javac Classes related to the joint compiler. 
org.codehaus.groovy.transform   
 

Uses of SourceUnit in groovy.beans
 

Methods in groovy.beans with parameters of type SourceUnit
private  void VetoableASTTransformation.addListenerToClass(SourceUnit source, AnnotationNode node, ClassNode classNode)
           
private  void BindableASTTransformation.addListenerToClass(SourceUnit source, AnnotationNode node, ClassNode classNode)
           
private  void VetoableASTTransformation.addListenerToProperty(SourceUnit source, AnnotationNode node, AnnotatedNode parent)
           
private  void BindableASTTransformation.addListenerToProperty(SourceUnit source, AnnotationNode node, ClassNode declaringClass, FieldNode field)
           
private  void VetoableASTTransformation.createListenerSetter(SourceUnit source, AnnotationNode node, boolean bindable, ClassNode declaringClass, PropertyNode propertyNode)
           
private  void BindableASTTransformation.createListenerSetter(SourceUnit source, AnnotationNode node, ClassNode classNode, PropertyNode propertyNode)
           
protected  boolean BindableASTTransformation.needsPropertyChangeSupport(ClassNode declaringClass, SourceUnit sourceUnit)
          Snoops through the declaring class and all parents looking for methods void addPropertyChangeListener(PropertyChangeListener), void removePropertyChangeListener(PropertyChangeListener), and void firePropertyChange(String, Object, Object).
protected  boolean VetoableASTTransformation.needsVetoableChangeSupport(ClassNode declaringClass, SourceUnit sourceUnit)
          Snoops through the declaring class and all parents looking for a field of type VetoableChangeSupport.
 void VetoableASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
          Handles the bulk of the processing, mostly delegating to other methods.
 void BindableASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
          Handles the bulk of the processing, mostly delegating to other methods.
 

Uses of SourceUnit in groovy.grape
 

Fields in groovy.grape declared as SourceUnit
(package private)  SourceUnit GrabAnnotationTransformation.sourceUnit
           
 

Methods in groovy.grape that return SourceUnit
 SourceUnit GrabAnnotationTransformation.getSourceUnit()
           
 

Methods in groovy.grape with parameters of type SourceUnit
 void GrabAnnotationTransformation.visit(ASTNode[] nodes, SourceUnit source)
           
 

Uses of SourceUnit in groovy.lang
 

Fields in groovy.lang declared as SourceUnit
private  SourceUnit GroovyClassLoader.ClassCollector.su
           
 

Methods in groovy.lang with parameters of type SourceUnit
protected  GroovyClassLoader.ClassCollector GroovyClassLoader.createCollector(CompilationUnit unit, SourceUnit su)
          creates a ClassCollector for a new compilation.
 

Constructors in groovy.lang with parameters of type SourceUnit
GroovyClassLoader.ClassCollector(GroovyClassLoader.InnerLoader cl, CompilationUnit unit, SourceUnit su)
           
 

Uses of SourceUnit in groovy.ui
 

Fields in groovy.ui declared as SourceUnit
private  SourceUnit InteractiveShell.parser
          A SourceUnit used to check the statement
 

Uses of SourceUnit in org.codehaus.groovy.antlr
 

Methods in org.codehaus.groovy.antlr with parameters of type SourceUnit
 ModuleNode AntlrParserPlugin.buildAST(SourceUnit sourceUnit, java.lang.ClassLoader classLoader, Reduction cst)
           
 Reduction AntlrParserPlugin.outputAST(SourceUnit sourceUnit, SourceBuffer sourceBuffer)
           
private  void AntlrParserPlugin.outputASTInVariousFormsIfNeeded(SourceUnit sourceUnit, SourceBuffer sourceBuffer)
           
 Reduction AntlrParserPlugin.parseCST(SourceUnit sourceUnit, java.io.Reader reader)
           
protected  void AntlrParserPlugin.transformCSTIntoAST(SourceUnit sourceUnit, java.io.Reader reader, SourceBuffer sourceBuffer)
           
 

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()
           
 SourceUnit CompileUnit.getScriptSourceLocation(java.lang.String className)
           
protected abstract  SourceUnit ClassCodeVisitorSupport.getSourceUnit()
           
 

Methods in org.codehaus.groovy.ast with parameters of type SourceUnit
 void CompileUnit.addClassNodeToCompile(ClassNode node, SourceUnit location)
          this emthod actually does not compile a class.
 void MixinASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
           
 

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

Uses of SourceUnit in org.codehaus.groovy.classgen
 

Fields in org.codehaus.groovy.classgen declared as SourceUnit
private  SourceUnit ExtendedVerifier.source
           
private  SourceUnit ClassCompletionVerifier.source
           
private  SourceUnit VariableScopeVisitor.source
           
private  SourceUnit AnnotationVisitor.source
           
private  SourceUnit EnumVisitor.sourceUnit
           
 

Methods in org.codehaus.groovy.classgen that return SourceUnit
protected  SourceUnit EnumVisitor.getSourceUnit()
           
protected  SourceUnit ClassGenerator.getSourceUnit()
           
protected  SourceUnit AsmClassGenerator.getSourceUnit()
           
protected  SourceUnit ClassCompletionVerifier.getSourceUnit()
           
protected  SourceUnit VariableScopeVisitor.getSourceUnit()
           
 

Constructors in org.codehaus.groovy.classgen with parameters of type SourceUnit
AnnotationVisitor(SourceUnit source, ErrorCollector errorCollector)
           
ClassCompletionVerifier(SourceUnit source)
           
EnumVisitor(CompilationUnit cu, SourceUnit su)
           
ExtendedVerifier(SourceUnit sourceUnit)
           
VariableScopeVisitor(SourceUnit source)
           
 

Uses of SourceUnit in org.codehaus.groovy.control
 

Fields in org.codehaus.groovy.control declared as SourceUnit
private  SourceUnit LabelVerifier.source
           
private  SourceUnit OptimizerVisitor.source
           
private  SourceUnit ResolveVisitor.source
           
private  SourceUnit StaticImportVisitor.source
           
private  SourceUnit GenericsVisitor.source
           
 

Methods in org.codehaus.groovy.control that return SourceUnit
 SourceUnit CompilationUnit.addSource(java.io.File file)
          Adds a source file to the unit.
 SourceUnit CompilationUnit.addSource(SourceUnit source)
          Adds a SourceUnit to the unit.
 SourceUnit CompilationUnit.addSource(java.lang.String name, java.io.InputStream stream)
          Adds a InputStream source to the unit.
 SourceUnit CompilationUnit.addSource(java.net.URL url)
          Adds a source file to the unit.
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.
protected  SourceUnit LabelVerifier.getSourceUnit()
           
protected  SourceUnit OptimizerVisitor.getSourceUnit()
           
protected  SourceUnit ResolveVisitor.getSourceUnit()
           
protected  SourceUnit StaticImportVisitor.getSourceUnit()
           
protected  SourceUnit GenericsVisitor.getSourceUnit()
           
 

Methods in org.codehaus.groovy.control with parameters of type SourceUnit
 void ErrorCollector.addError(java.lang.String text, CSTNode context, SourceUnit source)
          Convenience wrapper for addError().
 void ErrorCollector.addError(SyntaxException error, SourceUnit source)
          Convenience wrapper for addError().
 void ErrorCollector.addException(java.lang.Exception cause, SourceUnit source)
           
 SourceUnit CompilationUnit.addSource(SourceUnit source)
          Adds a SourceUnit to the unit.
 void ErrorCollector.addWarning(int importance, java.lang.String text, CSTNode context, SourceUnit source)
          Convenience wrapper for addWarning() that won't create an object unless it is relevant.
 void ErrorCollector.addWarning(int importance, java.lang.String text, java.lang.Object data, CSTNode context, SourceUnit source)
          Convenience wrapper for addWarning() that won't create an object unless it is relevant.
 ModuleNode ParserPlugin.buildAST(SourceUnit sourceUnit, java.lang.ClassLoader classLoader, Reduction cst)
           
abstract  void CompilationUnit.SourceUnitOperation.call(SourceUnit source)
           
abstract  void CompilationUnit.PrimaryClassNodeOperation.call(SourceUnit source, GeneratorContext context, ClassNode classNode)
           
private  void CompilationUnit.changeBugText(GroovyBugError e, SourceUnit context)
           
 Reduction ParserPlugin.parseCST(SourceUnit sourceUnit, java.io.Reader reader)
           
 void ResolveVisitor.startResolving(ClassNode node, SourceUnit source)
           
 void OptimizerVisitor.visitClass(ClassNode node, SourceUnit source)
           
 void StaticImportVisitor.visitClass(ClassNode node, SourceUnit source)
           
 

Constructors in org.codehaus.groovy.control with parameters of type SourceUnit
GenericsVisitor(SourceUnit source)
           
LabelVerifier(SourceUnit src)
           
 

Uses of SourceUnit in org.codehaus.groovy.control.messages
 

Fields in org.codehaus.groovy.control.messages declared as SourceUnit
protected  SourceUnit SyntaxErrorMessage.source
           
 

Methods in org.codehaus.groovy.control.messages with parameters of type SourceUnit
static Message Message.create(SyntaxException error, SourceUnit owner)
          Creates a new Message from the specified SyntaxException.
 

Constructors in org.codehaus.groovy.control.messages with parameters of type SourceUnit
LocatedMessage(java.lang.String message, CSTNode context, SourceUnit source)
           
LocatedMessage(java.lang.String message, java.lang.Object data, CSTNode context, SourceUnit source)
           
SyntaxErrorMessage(SyntaxException cause, SourceUnit source)
           
WarningMessage(int importance, java.lang.String message, CSTNode context, SourceUnit owner)
          Creates a new warning message.
WarningMessage(int importance, java.lang.String message, java.lang.Object data, CSTNode context, SourceUnit owner)
          Creates a new warning message.
 

Uses of SourceUnit in org.codehaus.groovy.syntax
 

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

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

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

Constructors in org.codehaus.groovy.syntax with parameters of type SourceUnit
ASTHelper(SourceUnit controller, java.lang.ClassLoader classLoader)
           
 

Uses of SourceUnit in org.codehaus.groovy.tools.javac
 

Methods in org.codehaus.groovy.tools.javac with parameters of type SourceUnit
 void JavaStubCompilationUnit.JavaResolverOperation.call(SourceUnit source, GeneratorContext context, ClassNode node)
           
 void JavaStubCompilationUnit.StubGeneratorOperation.call(SourceUnit source, GeneratorContext context, ClassNode node)
           
 

Uses of SourceUnit in org.codehaus.groovy.transform
 

Fields in org.codehaus.groovy.transform declared as SourceUnit
private  SourceUnit ASTTransformationVisitor.source
           
private  SourceUnit NewifyASTTransformation.source
           
private  SourceUnit ASTTransformationCollectorCodeVisitor.source
           
 

Methods in org.codehaus.groovy.transform that return SourceUnit
protected  SourceUnit ASTTransformationVisitor.getSourceUnit()
           
protected  SourceUnit NewifyASTTransformation.getSourceUnit()
           
protected  SourceUnit ASTTransformationCollectorCodeVisitor.getSourceUnit()
           
 

Methods in org.codehaus.groovy.transform with parameters of type SourceUnit
private  ClassNode CategoryASTTransformation.getTargetClass(SourceUnit source, AnnotationNode annotation)
           
 void CategoryASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
          Property invocations done on 'this' reference are transformed so that the invocations at runtime are done on the additional parameter 'self'
 void NewifyASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
           
 void SingletonASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
           
 void ImmutableASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
           
 void ASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
          The call made when the compiler encounters an AST Transformation Annotation
 void PackageScopeASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
           
 void LazyASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
           
 void DelegateASTTransformation.visit(ASTNode[] nodes, SourceUnit source)
           
 

Constructors in org.codehaus.groovy.transform with parameters of type SourceUnit
ASTTransformationCollectorCodeVisitor(SourceUnit source, GroovyClassLoader transformLoader)
           
 



Copyright © ${year} The Codehaus. All Rights Reserved.