|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SourceUnit | |
---|---|
groovy.lang | Core Groovy language classes for implementing data structures, closures, metadata and so forth. |
org.codehaus.groovy.antlr | |
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 | |
org.codehaus.groovy.control.messages | |
org.codehaus.groovy.syntax | Lexer, parser and trees. |
Uses of SourceUnit in groovy.lang |
---|
Methods in groovy.lang with parameters of type SourceUnit | |
---|---|
protected GroovyClassLoader.ClassCollector |
GroovyClassLoader.createCollector(CompilationUnit unit,
SourceUnit su)
|
Constructors in groovy.lang with parameters of type SourceUnit | |
---|---|
GroovyClassLoader.ClassCollector(GroovyClassLoader cl,
CompilationUnit unit,
SourceUnit su)
|
Uses of SourceUnit in org.codehaus.groovy.antlr |
---|
Methods in org.codehaus.groovy.antlr with parameters of type SourceUnit | |
---|---|
ModuleNode |
AntlrParserPlugin.buildAST(SourceUnit sourceUnit,
ClassLoader classLoader,
Reduction cst)
|
Reduction |
AntlrParserPlugin.parseCST(SourceUnit sourceUnit,
Reader reader)
|
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.classgen |
---|
Constructors in org.codehaus.groovy.classgen with parameters of type SourceUnit | |
---|---|
JSRVariableScopeCodeVisitor(org.codehaus.groovy.classgen.JSRVariableScopeCodeVisitor.VarScope scope,
SourceUnit source)
|
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(SourceUnit source)
Adds a SourceUnit to the unit. |
SourceUnit |
CompilationUnit.addSource(String name,
InputStream stream)
Adds a InputStream source to the unit. |
SourceUnit |
CompilationUnit.addSource(URL url)
Adds a source file 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 | |
---|---|
void |
ErrorCollector.addError(String text,
CSTNode context,
SourceUnit source)
Convenience wrapper for addError(). |
void |
ErrorCollector.addError(SyntaxException error,
SourceUnit source)
Convenience wrapper for addError(). |
void |
ErrorCollector.addException(Exception cause,
SourceUnit source)
|
SourceUnit |
CompilationUnit.addSource(SourceUnit source)
Adds a SourceUnit to the unit. |
void |
ErrorCollector.addWarning(int importance,
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,
String text,
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,
ClassLoader classLoader,
Reduction cst)
|
abstract void |
CompilationUnit.LoopBodyForSourceUnitOperations.call(SourceUnit source)
|
abstract void |
CompilationUnit.LoopBodyForPrimaryClassNodeOperations.call(SourceUnit source,
GeneratorContext context,
ClassNode classNode)
|
Reduction |
ParserPlugin.parseCST(SourceUnit sourceUnit,
Reader reader)
|
void |
ResolveVisitor.startResolving(ClassNode node,
SourceUnit source)
|
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(String message,
CSTNode context,
SourceUnit source)
|
|
LocatedMessage(String message,
Object data,
CSTNode context,
SourceUnit source)
|
|
SyntaxErrorMessage(SyntaxException cause,
SourceUnit source)
|
|
WarningMessage(int importance,
String message,
CSTNode context,
SourceUnit owner)
Creates a new warning message. |
|
WarningMessage(int importance,
String message,
Object data,
CSTNode context,
SourceUnit owner)
Creates a new warning message. |
Uses of SourceUnit in org.codehaus.groovy.syntax |
---|
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,
ClassLoader classLoader)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |