Interface | Description |
---|---|
Token |
currently this is a flag interface
|
Class | Description |
---|---|
AssignmentToken |
Represents the assignment token ("=")
|
BackToken | |
BKToken | |
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)
|
CleanToken | |
ClearscreenToken | |
CSToken | |
DifferenceToken | |
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.
|
EqualsToken |
Represents = token
|
EqualToken | |
FDToken | |
ForwardToken | |
GreaterToken | |
HeadingToken | |
HideTurtleToken | |
HomeToken | |
HTToken | |
IdentifierToken |
Represents an identifier (a variable name)
|
IFToken | |
LeftBracketToken |
Represents a left bracket
|
LeftParenToken |
Represents a left parenthesis
|
LeftToken | |
LessToken | |
LTToken | |
MinusToken | |
NotEqualToken | |
NumberToken |
Represents a number (using doubles).
|
PenDownPToken | |
PenDownToken | |
PenUpToken | |
PrintToken |
Represents the PRINT instruction token
|
ProductToken | |
QuotientToken | |
RemainderToken | |
RepeatToken |
Represents a REPEAT instruction token
|
ReservedToken |
Represents a reserved word
|
RightBracketToken |
Represents a right bracket
|
RightParenToken |
Represents a right parenthesis
|
RightToken | |
RTToken | |
SetxToken | |
SetxyToken | |
SetyToken | |
ShowTurtleToken | |
STToken | |
SumToken | |
TokenFactory |
Parses a stream into tokens
|
TowardsToken | |
VariableToken |
Represents a variable
|
XcorToken | |
YcorToken |