|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Token | |
---|---|
jelan.simple |
Uses of Token in jelan.simple |
---|
Classes in jelan.simple that implement Token | |
---|---|
class |
CharToken
A token represented by a single character, e.g., '*', ';', '[', and so on equals compares a CharToken as equal to another CharToken encapsulating the same character |
class |
EOFToken
This represents an end-of-file token Uses the singleton pattern since there's no reason to have more than one such token. |
class |
EOLToken
This represents an end-of-line token Uses the singleton pattern since there's no reason to have more than one such token. |
class |
IdentifierToken
|
class |
NumberToken
Represents a number (using double) Using equals, a NumberToken object compares as true only to another NumberToken object with the same value |
Methods in jelan.simple that return Token | |
---|---|
Token |
ElanParser.getToken()
|
Token |
ElanParser.match(Token rhs)
try to match a token, if unsuccessful throw an exception, otherwise match succeeds, and next token is obtained and returned |
Methods in jelan.simple with parameters of type Token | |
---|---|
void |
ElanParser.error(Token t)
|
Token |
ElanParser.match(Token rhs)
try to match a token, if unsuccessful throw an exception, otherwise match succeeds, and next token is obtained and returned |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |