- getAST
Returns the Abstract Syntax Tree produced during convert()ing and expanded
during later phases.
- getErrorCollector
- getName
Returns the name for the SourceUnit. This name shouldn't be used for controlling
the SourceUnit, it
- addException
This method adds an exception to the error collector. The Exception most likely
has no line number a
- parse
Parses the source to a CST. You can retrieve it with getCST().
- <init>
Initializes the SourceUnit from the specified URL.
- addError
This method adds a SyntaxException to the error collector. The exception should
specify the line and
- convert
Generates an AST from the CST. You can retrieve it with getAST().
- create
A convenience routine to create a standalone SourceUnit on a String with
defaults for almost everyth
- getConfiguration
- getSample
Returns a sampling of the source at the specified line and column, of null if it
is unavailable.
- getSource