Package | Description |
---|---|
org.eclipse.golo.compiler |
Provides access to the Golo compiler and supporting classes.
|
org.eclipse.golo.compiler.parser |
(this is an internal API)
|
Modifier and Type | Method and Description |
---|---|
Token |
GoloCompilationException.Problem.getFirstToken() |
Token |
GoloCompilationException.Problem.getLastToken() |
Constructor and Description |
---|
Problem(GoloCompilationException.Problem.Type type,
GoloASTNode source,
Token token,
java.lang.String description)
Constructs a new problem to report.
|
Modifier and Type | Field and Description |
---|---|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
protected Token |
SimpleNode.firstToken |
Token |
GoloParser.jj_nt
Next token.
|
protected Token |
SimpleNode.lastToken |
Token |
Token.next
A reference to the next regular (non-special) token from the input
stream.
|
Token |
GoloTokenBase.previousToken |
Token |
Token.specialToken
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
|
Token |
GoloParser.token
Current token.
|
Modifier and Type | Method and Description |
---|---|
Token |
GoloParser.getNextToken()
Get the next Token.
|
Token |
GoloParserTokenManager.getNextToken()
Get the next Token.
|
Token |
GoloParser.getToken(int index)
Get the specific Token.
|
protected Token |
GoloOffsetParserTokenManager.jjFillToken() |
protected Token |
GoloParserTokenManager.jjFillToken() |
Token |
SimpleNode.jjtGetFirstToken() |
Token |
SimpleNode.jjtGetLastToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
java.lang.String image)
Returns a new Token object, by default.
|
Modifier and Type | Method and Description |
---|---|
void |
GoloParserTokenManager.TokenCompleter.completeToken(Token t) |
void |
SimpleNode.jjtSetFirstToken(Token token) |
void |
SimpleNode.jjtSetLastToken(Token token) |
Constructor and Description |
---|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser.
|