| 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
Next token.
|
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
Current token.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
JGrammar.getNextToken()
Get the next Token.
|
Token |
JGrammarTokenManager.getNextToken()
Get the next Token.
|
Token |
JGrammar.getToken(int index)
Get the specific Token.
|
protected Token |
JGrammarTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
String image)
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 © 2004–2019 OpenL Tablets. All rights reserved.