Interface | Description |
---|---|
Token |
currently this is a flag interface
|
Class | Description |
---|---|
AssignmentToken |
Represents the assignment token ("=")
|
BackToken | |
BKToken |
Represents the BK instruction
|
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 | |
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 |
The token for the Equals instruction
|
EqualToken |
Represents = token
|
FDToken |
Represents the FD instruction
|
ForwardToken |
Represents the FORWARD instruction
|
GreaterToken |
The token for the Greater instruction
|
HeadingToken |
Represents the XCOR instruction
|
HomeToken |
Represents the Home instruction
|
IdentifierToken |
Represents an identifier (a variable name)
|
IfToken |
Represents the IF instruction
|
LeftBracketToken |
Represents a left bracket
|
LeftParenToken |
Represents a left parenthesis
|
LeftToken | |
LessToken |
The token for the Less instruction
|
LTToken |
Represents the LEFT instruction
|
MinusToken | |
NotEqualsToken |
The token for the NotEquals instruction
|
NumberToken |
Represents a number (using doubles).
|
PDToken |
Represents the PenDown instruction
|
PenDownToken | |
PenUpToken | |
PrintToken |
Represents the PRINT instruction token
|
ProductToken | |
PUToken |
Represents the Pen Up instruction
|
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 |
Represents the RIGHT instruction
|
SetPCToken |
Represents the SetPC instruction
|
SetPenColorToken |
Represents the SetPenColor instruction
|
SetPenSizeToken |
Represents the SetPenSize instruction
|
SetPSToken |
Represents the SetPS instruction
|
SetXToken |
Represents the SETX instruction
|
SetXYToken |
Represents the SETXY instruction
|
SetYToken |
Represents the SETY instruction
|
SumToken |
Represents the SUM instruction
|
TokenFactory |
Parses a stream into tokens
|
ToToken |
Represents the TO instruction
|
TowardsToken |
Represents the FORWARD instruction
|
VariableToken |
Represents a variable
|
XCorToken |
Represents the XCOR instruction
|
YCorToken |
Represents the YCOR instruction
|