| Package | Description |
|---|---|
| org.openl.grammar.jgrammar |
| Modifier and Type | Field and Description |
|---|---|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
Token |
JGrammar.jj_nt |
Token |
Token.next
A reference to the next regular (non-special) token from the input
stream.
|
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 |
JGrammar.token |
| Modifier and Type | Method and Description |
|---|---|
Token |
JGrammarTokenManager.getNextToken() |
Token |
JGrammar.getNextToken() |
Token |
JGrammar.getToken(int index) |
protected Token |
JGrammarTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind)
Returns a new Token object, by default.
|
| Modifier and Type | Method and Description |
|---|---|
protected IPosition |
JGrammar.begin(Token t) |
protected IPosition |
JGrammar.end(Token t) |
protected TextInterval |
JGrammar.pos(String lexError,
Token t,
StringBuffer resMessage) |
protected TextInterval |
JGrammar.pos(Token t) |
protected TextInterval |
JGrammar.pos(Token t1,
Token t2) |
| Constructor and Description |
|---|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser.
|
Copyright © 2016. All rights reserved.