Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
E
ElanParser
- Class in
jelan.elan.parser
Illustrates the java.io.StreamTokenizer class and how it can be used to parse tokens for a toy example programming language (elan).
ElanParser()
- Constructor for class jelan.elan.parser.
ElanParser
ElanParser
- Class in
jelan.simple
Illustrates the java.io.StreamTokenizer class and how it can be used to parse tokens for a toy example programming language (elan).
ElanParser()
- Constructor for class jelan.simple.
ElanParser
EOFToken
- Class in
jelan.elan.parser.token
This represents an end-of-file token Uses the singleton pattern since there's no reason to have more than one such token.
EOFToken
- Class in
jelan.simple
This represents an end-of-file token Uses the singleton pattern since there's no reason to have more than one such token.
EOLToken
- Class in
jelan.elan.parser.token
This represents an end-of-line token Uses the singleton pattern since there's no reason to have more than one such token.
EOLToken
- Class in
jelan.simple
This represents an end-of-line token Uses the singleton pattern since there's no reason to have more than one such token.
EQUAL
- Static variable in class jelan.elan.
CharConsts
EQUAL
- Static variable in class jelan.simple.
CharConsts
equals(Object)
- Method in class jelan.elan.expression.
Variable
equals(Object)
- Method in class jelan.elan.parser.token.
CharToken
equals(CharToken)
- Method in class jelan.elan.parser.token.
CharToken
equals(Object)
- Method in class jelan.elan.parser.token.
EOFToken
equals(Object)
- Method in class jelan.elan.parser.token.
EOLToken
equals(Object)
- Method in class jelan.elan.parser.token.
IdentifierToken
equals(IdentifierToken)
- Method in class jelan.elan.parser.token.
IdentifierToken
equals(Object)
- Method in class jelan.elan.parser.token.
NumberToken
equals(NumberToken)
- Method in class jelan.elan.parser.token.
NumberToken
equals(Object)
- Method in class jelan.elan.parser.token.
ReservedToken
equals(Object)
- Method in class jelan.elan.parser.token.
VariableToken
equals(VariableToken)
- Method in class jelan.elan.parser.token.
VariableToken
equals(Object)
- Method in class jelan.simple.
CharToken
equals(Object)
- Method in class jelan.simple.
EOFToken
equals(Object)
- Method in class jelan.simple.
EOLToken
equals(Object)
- Method in class jelan.simple.
IdentifierToken
equals(Object)
- Method in class jelan.simple.
NumberToken
equals(Object)
- Method in class jelan.simple.
Variable
EqualToken
- Class in
jelan.elan.parser.token
error(Token)
- Method in class jelan.elan.parser.
ElanParser
error(Token)
- Method in class jelan.simple.
ElanParser
evaluate(Context)
- Method in class jelan.elan.expression.
Expression
evaluate(Context)
- Method in class jelan.elan.expression.
Variable
evaluate(Context)
- Method in class jelan.elan.
GrammarElement
Evaluate this language construct in some context.
evaluate(Context)
- Method in class jelan.elan.instruction.
Assignment
Evaluate the expression that's part of this instruction and update a global map/store to record the assignment of the expression to the variable.
evaluate(Context)
- Method in class jelan.elan.instruction.
Instruction
evaluate(Context)
- Method in class jelan.elan.instruction.
Print
Evaluate the expression and println it.
evaluate(Context)
- Method in class jelan.elan.instruction.
Repeat
Evaluate this instruction in a Context.
evaluate(Context)
- Method in class jelan.elan.instruction.
StrictInstructionList
Evaluate this instruction in a Context, return the result of the evaluation (the result is the last instruction executed).
evaluate(Context)
- Method in class jelan.simple.
Expression
evaluate(Context)
- Method in class jelan.simple.
GrammarElement
evaluate(Context)
- Method in class jelan.simple.
Variable
Expression
- Class in
jelan.elan.expression
The base class of all arithmetic expressions, the
evaluate
method uses the hook/template method
value
to return a Double value, the template method returns a double.
Expression()
- Constructor for class jelan.elan.expression.
Expression
Expression
- Class in
jelan.simple
Expression()
- Constructor for class jelan.simple.
Expression
ExpressionParser
- Class in
jelan.elan.parser
This is a recursive descent parser for parsing expressions using the standard grammar for expressions (follows).
ExpressionParser
- Class in
jelan.simple
This is a recursive descent parser for parsing expressions using the standard grammar for expressions
ExpressionParser(ElanParser)
- Constructor for class jelan.simple.
ExpressionParser
Parse expressions from a parser
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V