|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Token | |
---|---|
slogo.parser | This package is responsible for parsing the language SLogo. |
slogo.parser.token |
Uses of Token in slogo.parser |
---|
Fields in slogo.parser declared as Token | |
---|---|
protected Token |
SLogoParser.myToken
|
Methods in slogo.parser that return Token | |
---|---|
Token |
SLogoParser.getToken()
returns the current token, doesn't fetch a new one |
Token |
SLogoParser.match(Token rhs)
try to match a token, if unsuccessful throw an exception, otherwise match succeeds, and next token is obtained and returned |
protected Token |
SLogoParser.nextToken()
get the next token and store it for retrieval by getToken() |
Methods in slogo.parser with parameters of type Token | |
---|---|
void |
SLogoParser.error(Token t)
|
Token |
SLogoParser.match(Token rhs)
try to match a token, if unsuccessful throw an exception, otherwise match succeeds, and next token is obtained and returned |
Uses of Token in slogo.parser.token |
---|
Classes in slogo.parser.token that implement Token | |
---|---|
class |
AssignmentToken
Represents the assignment token ("=") |
class |
BackToken
|
class |
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. |
class |
CleanToken
|
class |
ClearScreenToken
|
class |
DifferenceToken
|
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 |
EqualsToken
|
class |
EqualToken
|
class |
ForwardToken
|
class |
GreaterToken
|
class |
HeadingToken
|
class |
HideTurtleToken
|
class |
HomeToken
|
class |
IdentifierToken
Represents an identifier (a variable name) |
class |
IfToken
|
class |
IsPenDownToken
|
class |
LeftBracketToken
|
class |
LeftParenToken
|
class |
LeftToken
|
class |
LessToken
|
class |
MinusSignToken
|
class |
MinusToken
|
class |
NotEqualToken
|
class |
NumberToken
Represents a number (using doublevalues). |
class |
PenDownToken
|
class |
PenUpToken
|
class |
PlusToken
|
class |
ProductToken
|
class |
QuotientToken
|
class |
RemainderToken
|
class |
RepeatToken
|
class |
ReservedToken
Represents a reserved word |
class |
RightBracketToken
|
class |
RightParenToken
|
class |
RightToken
|
class |
SetPenColorToken
|
class |
SetXToken
|
class |
SetXYToken
|
class |
SetYToken
|
class |
ShowTurtleToken
|
class |
SlashToken
|
class |
StarToken
|
class |
SumToken
|
class |
ToToken
|
class |
TowardsToken
|
class |
VariableToken
Represents a variable |
class |
XCorToken
|
class |
YCorToken
|
Fields in slogo.parser.token with type parameters of type Token | |
---|---|
private static java.util.Map<java.lang.String,Token> |
TokenFactory.tokenNameToToken
|
Methods in slogo.parser.token that return Token | |
---|---|
static Token |
TokenFactory.parse(java.io.StreamTokenizer tokenizer)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |