Interface | Description |
---|---|
Token |
currently this is a flag interface
|
Class | Description |
---|---|
AssignmentToken |
Represents the assignment token ("=")
|
CharToken |
A token represented by a single character, e.g., '*', ';', '[' and
so on; the method equals compares a CharToken as equal to another CharToken
encapsulating the same character.
|
CharTokenFactory |
Factory for generating CharToken objects ensuring that only one of any
specific CharToken object is created (enforcing CharToken singleton-ness per
char value)
|
EOFToken |
This represents an end-of-file token Uses the singleton pattern since there's
no reason to have more than one such token.
|
EOLToken |
This represents an end-of-line token.
|
EqualToken |
Represents = token
|
IdentifierToken |
Represents an identifier (a variable name)
|
LeftBracketToken |
Represents a left bracket
|
LeftParenToken |
Represents a left parenthesis
|
NumberToken |
Represents a number (using doubles).
|
PrintToken |
Represents the PRINT instruction token
|
RepeatToken |
Represents a REPEAT instruction token
|
ReservedToken |
Represents a reserved word
|
RightBracketToken |
Represents a right bracket
|
RightParenToken |
Represents a right parenthesis
|
TokenFactory |
Parses a stream into tokens
|
VariableToken |
Represents a variable
|