Package | Description |
---|---|
net.percederberg.grammatica.parser |
Modifier and Type | Method and Description |
---|---|
Token |
Token.getNextToken()
Returns the next token.
|
Token |
Token.getPreviousToken()
Returns the previuos token.
|
protected Token |
Tokenizer.newToken(TokenPattern pattern,
java.lang.String image,
int line,
int column)
Factory method for creating a new token.
|
Token |
Tokenizer.next()
Finds the next token on the stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProductionPatternElement.isMatch(Token token)
Checks if a specific token matches this element.
|