|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SourceUnit | |
---|---|
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. |
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)
|
private void |
AntlrParserPlugin.outputASTInVariousFormsIfNeeded(SourceUnit sourceUnit,
SourceBuffer sourceBuffer)
|
Reduction |
AntlrParserPlugin.parseCST(SourceUnit sourceUnit,
java.io.Reader reader)
|
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. |
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 |
VariableScopeVisitor.source
|
private SourceUnit |
ExtendedVerifier.source
|
private SourceUnit |
ClassCompletionVerifier.source
|
private SourceUnit |
AnnotationVisitor.source
|
private SourceUnit |
EnumVisitor.sourceUnit
|
Methods in org.codehaus.groovy.classgen that return SourceUnit | |
---|---|
protected SourceUnit |
VariableScopeVisitor.getSourceUnit()
|
protected SourceUnit |
EnumVisitor.getSourceUnit()
|
protected SourceUnit |
ClassGenerator.getSourceUnit()
|
protected SourceUnit |
ClassCompletionVerifier.getSourceUnit()
|
protected SourceUnit |
AsmClassGenerator.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 |
StaticImportVisitor.source
|
private SourceUnit |
ResolveVisitor.source
|
private SourceUnit |
LabelVerifier.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 |
StaticImportVisitor.getSourceUnit()
|
protected SourceUnit |
ResolveVisitor.getSourceUnit()
|
protected SourceUnit |
LabelVerifier.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 |
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |