Overview
Package
Class
Use
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
E
G
H
I
N
P
R
S
T
V
E
equals(Object)
- Method in class tokenizer.
Token
Tests whether this Token equals the input.
G
getTokenizer()
- Method in class recognizer.
Recognizer
Returns the Tokenizer being used; needed for testing.
getType()
- Method in class tokenizer.
Token
Returns the type of this Token.
getValue()
- Method in class tokenizer.
Token
Returns the value of this Token.
H
hashCode()
- Method in class tokenizer.
Token
Returns a hash code for this token.
I
includeType(boolean)
- Static method in class tokenizer.
Token
Specifies whether the type should be included in the result of
toString()
.
isAddOperator()
- Method in class recognizer.
Recognizer
Tries to recognize an <add_operator>.
isExpression()
- Method in class recognizer.
Recognizer
Tries to recognize an <expression>.
isFactor()
- Method in class recognizer.
Recognizer
Tries to recognize a <factor>.
isMultiplyOperator()
- Method in class recognizer.
Recognizer
Tries to recognize a <multiply_operator>.
isSymbol(String)
- Method in class recognizer.
Recognizer
Tests whether the next token is the expected symbol.
isTerm()
- Method in class recognizer.
Recognizer
Tries to recognize a <term>.
isVariable()
- Method in class recognizer.
Recognizer
Tries to recognize a <variable>.
N
next()
- Method in class tokenizer.
Tokenizer
Returns the next Token.
nextTokenMatches(TokenType)
- Method in class recognizer.
Recognizer
Tests whether the next token has the expected type.
nextTokenMatches(TokenType, String)
- Method in class recognizer.
Recognizer
Tests whether the next token has the expected type and value.
P
pushBack()
- Method in class tokenizer.
Tokenizer
Requests that the Token most recently returned be returned again on the next call to next().
R
recognizer
- package recognizer
Recognizer
- Class in
recognizer
This class consists of a number of methods that "recognize" strings composed of Tokens that follow the indicated grammar rules for each method.
Recognizer(String)
- Constructor for class recognizer.
Recognizer
Constructs a Recognizer for the given string.
S
SyntaxException
- Exception in
recognizer
Represents an error during recognition or parsing.
SyntaxException()
- Constructor for exception recognizer.
SyntaxException
Constructor for SyntaxException.
SyntaxException(String)
- Constructor for exception recognizer.
SyntaxException
Constructor for SyntaxException.
SyntaxException(Throwable)
- Constructor for exception recognizer.
SyntaxException
Constructor for SyntaxException.
SyntaxException(String, Throwable)
- Constructor for exception recognizer.
SyntaxException
Constructor for SyntaxException.
T
Token
- Class in
tokenizer
Token(TokenType, String)
- Constructor for class tokenizer.
Token
Creates a token.
tokenizer
- package tokenizer
Tokenizer
- Class in
tokenizer
Tokenizer for the CIT 594 Logo project, Spring 2010.
Tokenizer(Reader)
- Constructor for class tokenizer.
Tokenizer
Creates a Tokenizer with an input source.
Tokenizer(String)
- Constructor for class tokenizer.
Tokenizer
Creates a Tokenizer for a specific string.
TokenType
- Enum in
tokenizer
toString()
- Method in class tokenizer.
Token
Returns the string value of this Token, or (depending on the value of
INCLUDE_TYPE_IN_PRINT_STRING)
, a string of the form type:value.
V
valueOf(String)
- Static method in enum tokenizer.
TokenType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum tokenizer.
TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
E
G
H
I
N
P
R
S
T
V
Overview
Package
Class
Use
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes