Package | Description |
---|---|
cgif.parser |
Classes to support the parsing of CGIF.
|
cgif.parser.javacc |
Classes and files related to the use of the JavaCC parser.
|
Modifier and Type | Method and Description |
---|---|
static String |
CGIFParserHelper.extractChargerComment(Token token)
Looks for a charger comment in either the first or second token.
|
static String |
CGIFParserHelper.extractChargerComment(Token t1,
Token t2) |
Modifier and Type | Field and Description |
---|---|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
(package private) Token |
CGIFParser.JJCalls.first |
private Token |
CGIFParser.jj_lastpos |
Token |
CGIFParser.jj_nt
Next token.
|
private Token |
CGIFParser.jj_scanpos |
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 |
CGIFParser.token
Current token.
|
Modifier and Type | Method and Description |
---|---|
Token |
CGIFParser.getNextToken()
Get the next Token.
|
Token |
CGIFParserTokenManager.getNextToken()
Get the next Token.
|
Token |
CGIFParser.getToken(int index)
Get the specific Token.
|
private Token |
CGIFParser.jj_consume_token(int kind) |
protected Token |
CGIFParserTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
String image)
Returns a new Token object, by default.
|
Token |
CGIFParser.typelabel() |
Modifier and Type | Method and Description |
---|---|
private static String |
ParseException.initialise(Token currentToken,
int[][] expectedTokenSequences,
String[] tokenImage)
It uses "currentToken" and "expectedTokenSequences" to generate a parse
error message and returns it.
|
(package private) void |
CGIFParserTokenManager.SkipLexicalActions(Token matchedToken) |
private void |
CGIFParser.trace_scan(Token t1,
int t2) |
private void |
CGIFParser.trace_token(Token t,
String where) |
Constructor and Description |
---|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser.
|