Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
I
J
L
M
N
O
P
R
S
T
Y
A
action
- Variable in class scanners.
JLexScanner
advance()
- Method in class conflicts.
Input
The advance() method needed by the oops.parser.Scanner interface.
advance()
- Method in class ebnf.
Input
The advance() method needed by the oops.parser.Scanner interface.
advance()
- Method in class eval.
Input
The advance() method needed by the oops.parser.Scanner interface.
advance()
- Method in class recog.
Input
The advance() method needed by the oops.parser.Scanner interface.
advance()
- Method in class scanners.
StreamTokenizerScanner
The advance() method needed by the oops.parser.Scanner interface.
advance()
- Method in class scanners.
JLexScanner.OopsScanner
move on to next token.
advance()
- Method in class scanners.
OOLexScanner
move on to next token.
advance()
- Method in class tree.
Input
The advance() method needed by the oops.parser.Scanner interface.
atEnd
- Variable in class scanners.
JLexScanner.OopsScanner
atEnd()
- Method in class conflicts.
Input
The atEnd() method needed by the oops.parser.Scanner interface.
atEnd()
- Method in class ebnf.
Input
The atEnd() method needed by the oops.parser.Scanner interface.
atEnd()
- Method in class eval.
Input
The atEnd() method needed by the oops.parser.Scanner interface.
atEnd()
- Method in class recog.
Input
The atEnd() method needed by the oops.parser.Scanner interface.
atEnd()
- Method in class scanners.
StreamTokenizerScanner
The atEnd() method needed by the oops.parser.Scanner interface.
atEnd()
- Method in class scanners.
JLexScanner.OopsScanner
atEnd()
- Method in class scanners.
OOLexScanner
atEnd()
- Method in class tree.
Input
The atEnd() method needed by the oops.parser.Scanner interface.
B
build
- class tree.
build
.
Abstract class build for the tree example.
build()
- Constructor for class tree.
build
build(Object, Object)
- Method in class tree.
build
Tree building operation
build(Object, Object)
- Method in class tree.
product.mul
build(Object, Object)
- Method in class tree.
product.div
byteValue()
- Method in class tree.
Node
maps byte arithmetic to long.
C
character(String)
- Method in class scanners.
JLexScanner.OopsScanner
character(String)
- Method in interface scanners.
JLexScanner.Action
conflicts
- package conflicts
D
doubleValue()
- Method in class tree.
Node.Add
implements double addition.
doubleValue()
- Method in class tree.
Node.Sub
implements double subtraction.
doubleValue()
- Method in class tree.
Node.Mul
implements double multiplication.
doubleValue()
- Method in class tree.
Node.Div
implements double division.
doubleValue()
- Method in class tree.
Node.Minus
implements double sign change.
E
ebnf
- package ebnf
eval
- package eval
expression
- class eval.
expression
.
Goal class for the expression rule.
expression
- class tree.
expression
.
Goal class for the expression rule.
expression()
- Constructor for class eval.
expression
expression()
- Constructor for class tree.
expression
F
floatValue()
- Method in class tree.
Node
maps float arithmetic to double.
G
Go
- class tree.
Go
.
Executes arithmetic expressions from standard input.
Go()
- Constructor for class tree.
Go
I
ID
- Variable in class ebnf.
Input
An oops.parser.Set.
input
- Variable in class scanners.
OOLexScanner
The input instance.
Input
- class conflicts.
Input
.
Lexical analyzer for conflicts.ebnf.
Input
- class ebnf.
Input
.
Lexical analyzer for ebnf.ebnf.
Input
- class eval.
Input
.
Lexical analyzer for eval.ebnf.
Input
- class recog.
Input
.
Lexical analyzer for recog.ebnf.
Input
- class tree.
Input
.
Lexical analyzer for tree.ebnf.
Input()
- Constructor for class conflicts.
Input
Input()
- Constructor for class ebnf.
Input
Input()
- Constructor for class eval.
Input
Input()
- Constructor for class recog.
Input
Input()
- Constructor for class tree.
Input
integer(String)
- Method in class scanners.
JLexScanner.OopsScanner
integer(String)
- Method in interface scanners.
JLexScanner.Action
intValue()
- Method in class tree.
Node
maps int arithmetic to long.
J
JLexScanner
- class scanners.
JLexScanner
.
JLexScanner.Action
- interface scanners.
JLexScanner.Action
.
JLexScanner.OopsScanner
- class scanners.
JLexScanner.OopsScanner
.
JLexScanner.OopsScanner()
- Constructor for class scanners.
JLexScanner.OopsScanner
JLexScanner(InputStream)
- Constructor for class scanners.
JLexScanner
JLexScanner(Reader)
- Constructor for class scanners.
JLexScanner
L
left
- Variable in class tree.
Node.Binary
left operand subtree.
lines
- Variable in class tree.
expression
stores a tree for each sum.
LIT
- Variable in class ebnf.
Input
An oops.parser.Set.
longValue()
- Method in class tree.
Node.Add
implements long addition.
longValue()
- Method in class tree.
Node.Sub
implements long subtraction.
longValue()
- Method in class tree.
Node.Mul
implements long multiplication.
longValue()
- Method in class tree.
Node.Div
implements long division.
longValue()
- Method in class tree.
Node.Minus
implements long sign change.
M
main(String[])
- Static method in class tree.
Go
loads a vector with Number elements from standard input and evaluates them.
N
NL
- Variable in class eval.
Input
An oops.parser.Set.
NL
- Variable in class recog.
Input
An oops.parser.Set.
NL
- Variable in class scanners.
StreamTokenizerScanner
NL
- Variable in class tree.
Input
An oops.parser.Set.
node
- Variable in class conflicts.
Input
A java.lang.Object.
node
- Variable in class eval.
Input
A java.lang.Object.
node
- Variable in class recog.
Input
A java.lang.Object.
node
- Variable in class scanners.
StreamTokenizerScanner
A java.lang.Object.
node
- Variable in class scanners.
JLexScanner.OopsScanner
node
- Variable in class scanners.
OOLexScanner
node representing token
node
- Variable in class tree.
Input
A java.lang.Object.
Node
- class tree.
Node
.
base class to store and evaluate arithmetic expressions.
Node.Add
- class tree.
Node.Add
.
implements addition.
Node.Add(Number, Number)
- Constructor for class tree.
Node.Add
builds a node with two subtrees.
Node.Binary
- class tree.
Node.Binary
.
represents a binary operator.
Node.Binary(Number, Number)
- Constructor for class tree.
Node.Binary
builds a node with two subtrees.
Node.Div
- class tree.
Node.Div
.
implements division.
Node.Div(Number, Number)
- Constructor for class tree.
Node.Div
builds a node with two subtrees.
Node.Minus
- class tree.
Node.Minus
.
implements sign change.
Node.Minus(Number)
- Constructor for class tree.
Node.Minus
builds a node with a subtree.
Node.Mul
- class tree.
Node.Mul
.
implements multiplication.
Node.Mul(Number, Number)
- Constructor for class tree.
Node.Mul
builds a node with two subtrees.
Node.Sub
- class tree.
Node.Sub
.
implements subtraction.
Node.Sub(Number, Number)
- Constructor for class tree.
Node.Sub
builds a node with two subtrees.
Node.Unary
- class tree.
Node.Unary
.
represents a unary operator.
Node.Unary(Number)
- Constructor for class tree.
Node.Unary
builds a node with a subtree.
node()
- Method in class conflicts.
Input
The node() method needed by the oops.parser.Scanner interface.
node()
- Method in class ebnf.
Input
The node() method needed by the oops.parser.Scanner interface.
node()
- Method in class eval.
Input
The node() method needed by the oops.parser.Scanner interface.
node()
- Method in class recog.
Input
The node() method needed by the oops.parser.Scanner interface.
node()
- Method in class scanners.
StreamTokenizerScanner
The node() method needed by the oops.parser.Scanner interface.
node()
- Method in class scanners.
JLexScanner.OopsScanner
node()
- Method in class scanners.
OOLexScanner
node()
- Method in class tree.
Input
The node() method needed by the oops.parser.Scanner interface.
Node()
- Constructor for class tree.
Node
JDK 1.2 requires this.
NUMBER
- Variable in class eval.
Input
An oops.parser.Set.
NUMBER
- Variable in class recog.
Input
An oops.parser.Set.
NUMBER
- Variable in class scanners.
StreamTokenizerScanner
NUMBER
- Variable in class scanners.
JLexScanner.OopsScanner
NUMBER
- Variable in class scanners.
OOLexScanner
The Set for the category NUMBER
NUMBER
- Variable in class tree.
Input
An oops.parser.Set.
O
OOLexScanner
- class scanners.
OOLexScanner
.
Lexical analyzer for arithmetic examples.
OOLexScanner()
- Constructor for class scanners.
OOLexScanner
op
- Variable in class eval.
product
op
- Variable in class tree.
sum
A tree.build object
P
parser
- Variable in class conflicts.
Input
An oops.parser.Parser.
parser
- Variable in class ebnf.
Input
An oops.parser.Parser.
parser
- Variable in class eval.
Input
An oops.parser.Parser.
parser
- Variable in class recog.
Input
An oops.parser.Parser.
parser
- Variable in class scanners.
StreamTokenizerScanner
parser
- Variable in class scanners.
JLexScanner.OopsScanner
parser
- Variable in class scanners.
OOLexScanner
The parser.
parser
- Variable in class tree.
Input
An oops.parser.Parser.
product
- class eval.
product
.
Goal class for the product rule.
product
- class tree.
product
.
Goal class for the product rule.
product.div
- class tree.
product.div
.
Inner class implements tree building for division
product.div()
- Constructor for class tree.
product.div
product.mul
- class tree.
product.mul
.
Inner class implements tree building for multiplication
product.mul()
- Constructor for class tree.
product.mul
product()
- Constructor for class eval.
product
product()
- Constructor for class tree.
product
R
real(String)
- Method in class scanners.
JLexScanner.OopsScanner
real(String)
- Method in interface scanners.
JLexScanner.Action
recog
- package recog
reduce()
- Method in class eval.
product
reduce method.
reduce()
- Method in class eval.
expression
reduce method.
reduce()
- Method in class tree.
expression
concludes rule recognition.
result
- Variable in class eval.
product
right
- Variable in class tree.
Node.Binary
right operand subtree.
S
scan
- Variable in class scanners.
OOLexScanner
The scanner.
scan(Reader, Parser)
- Method in class conflicts.
Input
The scan() method needed by the oops.parser.Scanner interface.
scan(Reader, Parser)
- Method in class ebnf.
Input
The scan() method needed by the oops.parser.Scanner interface.
scan(Reader, Parser)
- Method in class eval.
Input
The scan() method needed by the oops.parser.Scanner interface.
scan(Reader, Parser)
- Method in class recog.
Input
The scan() method needed by the oops.parser.Scanner interface.
scan(Reader, Parser)
- Method in class scanners.
StreamTokenizerScanner
The scan() method needed by the oops.parser.Scanner interface.
scan(Reader, Parser)
- Method in class scanners.
JLexScanner.OopsScanner
initialize, read one symbol ahead.
scan(Reader, Parser)
- Method in class scanners.
OOLexScanner
initialize, read one symbol ahead.
scan(Reader, Parser)
- Method in class tree.
Input
The scan() method needed by the oops.parser.Scanner interface.
scanner
- Variable in class scanners.
JLexScanner.OopsScanner
scanners
- package scanners
setAction(JLexScanner.Action)
- Method in class scanners.
JLexScanner
shift(Goal, Object)
- Method in class eval.
product
shift method stores the value of the subtree
shift(Goal, Object)
- Method in class eval.
sum
shift method stores the value of the subtree
shift(Goal, Object)
- Method in class eval.
expression
shift method.
shift(Goal, Object)
- Method in class tree.
product
shift method stores the value of the subtree
shift(Goal, Object)
- Method in class tree.
expression
presents result of reduction.
shift(Goal, Object)
- Method in class tree.
sum
shift method stores the value of the subtree
shift(Goal, Object)
- Method in class tree.
term.minus
shift method stores the value of the subtree
shift(Lit, Object)
- Method in class eval.
product
shift method stores the value of the actually recognized Lit
shift(Lit, Object)
- Method in class tree.
sum
shift method stores the value of the actually recognized Lit
shift(Lit, Object)
- Method in class tree.
term.minus
does nothing
shift(Token, Object)
- Method in class eval.
product
shift method does nothing.
shortValue()
- Method in class tree.
Node
maps short arithmetic to long.
st
- Variable in class conflicts.
Input
A java.io.StramTokenizer.
st
- Variable in class ebnf.
Input
A java.io.StramTokenizer.
st
- Variable in class eval.
Input
A java.io.StramTokenizer.
st
- Variable in class recog.
Input
A java.io.StramTokenizer.
st
- Variable in class scanners.
StreamTokenizerScanner
st
- Variable in class tree.
Input
A java.io.StramTokenizer.
StreamTokenizerScanner
- class scanners.
StreamTokenizerScanner
.
Lexical analyzer for arithmetic examples.
StreamTokenizerScanner()
- Constructor for class scanners.
StreamTokenizerScanner
sum
- class eval.
sum
.
Goal class for the sum rule.
sum
- class tree.
sum
.
Goal class for the sum rule.
sum()
- Constructor for class eval.
sum
sum()
- Constructor for class tree.
sum
T
term
- class tree.
term
.
Goal class for the term rule.
term.minus
- class tree.
term.minus
.
Inner class implements unary minus
term.minus()
- Constructor for class tree.
term.minus
term()
- Constructor for class tree.
term
tokenSet
- Variable in class conflicts.
Input
An oops.parser.Set.
tokenSet
- Variable in class ebnf.
Input
An oops.parser.Set.
tokenSet
- Variable in class eval.
Input
An oops.parser.Set.
tokenSet
- Variable in class recog.
Input
An oops.parser.Set.
tokenSet
- Variable in class scanners.
StreamTokenizerScanner
An oops.parser.Set.
tokenSet
- Variable in class scanners.
JLexScanner.OopsScanner
tokenSet
- Variable in class scanners.
OOLexScanner
null or lookahead identifying token
tokenSet
- Variable in class tree.
Input
An oops.parser.Set.
tokenSet()
- Method in class conflicts.
Input
The tokenSet() method needed by the oops.parser.Scanner interface.
tokenSet()
- Method in class ebnf.
Input
The tokenSet() method needed by the oops.parser.Scanner interface.
tokenSet()
- Method in class eval.
Input
The tokenSet() method needed by the oops.parser.Scanner interface.
tokenSet()
- Method in class recog.
Input
The tokenSet() method needed by the oops.parser.Scanner interface.
tokenSet()
- Method in class scanners.
StreamTokenizerScanner
The tokenSet() method needed by the oops.parser.Scanner interface.
tokenSet()
- Method in class scanners.
JLexScanner.OopsScanner
tokenSet()
- Method in class scanners.
OOLexScanner
tokenSet()
- Method in class tree.
Input
The tokenSet() method needed by the oops.parser.Scanner interface.
toString()
- Method in class conflicts.
Input
Returns a String representation containing the current position.
toString()
- Method in class ebnf.
Input
Returns a String representation containing the current position.
toString()
- Method in class eval.
Input
Returns a String representation containing the current position.
toString()
- Method in class recog.
Input
Returns a String representation containing the current position.
toString()
- Method in class scanners.
StreamTokenizerScanner
Returns a String representation containing the current position.
toString()
- Method in class scanners.
OOLexScanner
toString()
- Method in class tree.
Input
Returns a String representation containing the current position.
tree
- package tree
tree
- Variable in class tree.
Node.Unary
operand subtree.
Y
yylex()
- Method in class scanners.
JLexScanner
A
B
C
D
E
F
G
I
J
L
M
N
O
P
R
S
T
Y
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES