Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
A
ADD
- Static variable in class org.cheffo.jeplite.function.
PostfixMathCommand
addConst(String)
- Method in class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
Marks a variable name to be a constant name.
addFunction(String, Object)
- Method in class org.cheffo.jeplite.
JEP
Adds a new function to the parser.
addStandardConstants()
- Method in class org.cheffo.jeplite.
JEP
Adds the constants pi and e to the parser.
addStandardFunctions()
- Method in class org.cheffo.jeplite.
JEP
Adds the standard functions to the parser.
addVariable(String, double)
- Method in class org.cheffo.jeplite.
JEP
Adds a new variable to the parser, or updates the value of an existing variable.
AND
- Static variable in class org.cheffo.jeplite.function.
PostfixMathCommand
ASCII_CharStream
- class org.cheffo.jeplite.
ASCII_CharStream
.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
ASCII_CharStream(InputStream, int, int)
- Constructor for class org.cheffo.jeplite.
ASCII_CharStream
ASCII_CharStream(InputStream, int, int, int)
- Constructor for class org.cheffo.jeplite.
ASCII_CharStream
ASCII_CharStream(Reader, int, int)
- Constructor for class org.cheffo.jeplite.
ASCII_CharStream
ASCII_CharStream(Reader, int, int, int)
- Constructor for class org.cheffo.jeplite.
ASCII_CharStream
ASTConstant
- class org.cheffo.jeplite.
ASTConstant
.
ASTConstant(int)
- Constructor for class org.cheffo.jeplite.
ASTConstant
ASTConstant(Parser, int)
- Constructor for class org.cheffo.jeplite.
ASTConstant
ASTFunNode
- class org.cheffo.jeplite.
ASTFunNode
.
ASTFunNode(int)
- Constructor for class org.cheffo.jeplite.
ASTFunNode
ASTFunNode(Parser, int)
- Constructor for class org.cheffo.jeplite.
ASTFunNode
ASTVarNode
- class org.cheffo.jeplite.
ASTVarNode
.
ASTVarNode(int)
- Constructor for class org.cheffo.jeplite.
ASTVarNode
ASTVarNode(Parser, int)
- Constructor for class org.cheffo.jeplite.
ASTVarNode
B
backup(int)
- Method in class org.cheffo.jeplite.
ASCII_CharStream
BeginToken()
- Method in class org.cheffo.jeplite.
ASCII_CharStream
bufpos
- Variable in class org.cheffo.jeplite.
ASCII_CharStream
C
children
- Variable in class org.cheffo.jeplite.
SimpleNode
childrenAccept(ParserVisitor, Object)
- Method in class org.cheffo.jeplite.
SimpleNode
clearConstants()
- Method in class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
curChar
- Variable in class org.cheffo.jeplite.
ParserTokenManager
currentToken
- Variable in class org.cheffo.jeplite.
ParseException
This is the last token that has been consumed successfully.
D
DECIMAL_LITERAL
- Static variable in interface org.cheffo.jeplite.
ParserConstants
DEFAULT
- Static variable in interface org.cheffo.jeplite.
ParserConstants
DIGIT
- Static variable in interface org.cheffo.jeplite.
ParserConstants
DIVIDE
- Static variable in class org.cheffo.jeplite.function.
PostfixMathCommand
Done()
- Method in class org.cheffo.jeplite.
ASCII_CharStream
DoubleStack
- class org.cheffo.jeplite.util.
DoubleStack
.
DoubleStack()
- Constructor for class org.cheffo.jeplite.util.
DoubleStack
DoubleStack(int)
- Constructor for class org.cheffo.jeplite.util.
DoubleStack
E
elementAt(int)
- Method in class org.cheffo.jeplite.util.
SimpleNodeStack
elementAt(int)
- Method in class org.cheffo.jeplite.util.
IntegerStack
elementAt(int)
- Method in class org.cheffo.jeplite.util.
DoubleStack
EOF
- Static variable in interface org.cheffo.jeplite.
ParserConstants
eol
- Static variable in class org.cheffo.jeplite.
ParseException
The end of line string for this machine.
expectedTokenSequences
- Variable in class org.cheffo.jeplite.
ParseException
Each entry in this array is an array of integers.
EXPONENT
- Static variable in interface org.cheffo.jeplite.
ParserConstants
ExpressionOptimizer
- class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
.
ExpressionOptimizer(SimpleNode)
- Constructor for class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
F
fillFunctionTable(HashMap)
- Static method in class org.cheffo.jeplite.function.
PostfixMathCommand
FLOATING_POINT_LITERAL
- Static variable in interface org.cheffo.jeplite.
ParserConstants
G
getErrorInfo()
- Method in class org.cheffo.jeplite.
ParseException
getErrorInfo() was added to the parser generated code to provide clean output instead of the standard format of Exception.toString().
getErrorInfo()
- Method in class org.cheffo.jeplite.
JEP
Reports information on the error in the expression
GetImage()
- Method in class org.cheffo.jeplite.
ASCII_CharStream
getMessage()
- Method in class org.cheffo.jeplite.
TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage()
- Method in class org.cheffo.jeplite.
ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getName()
- Method in class org.cheffo.jeplite.
SimpleNode
getNextToken()
- Method in class org.cheffo.jeplite.
ParserTokenManager
getNumberOfParameters()
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand
getTopNode()
- Method in class org.cheffo.jeplite.
JEP
getValue()
- Method in class org.cheffo.jeplite.
SimpleNode
getValue()
- Method in class org.cheffo.jeplite.
JEP
Evaluates and returns the value of the expression.
getValue()
- Method in class org.cheffo.jeplite.
ASTVarNode
getValue()
- Method in class org.cheffo.jeplite.
ASTFunNode
getValue()
- Method in class org.cheffo.jeplite.
ASTConstant
getValue(DoubleStack)
- Method in class org.cheffo.jeplite.
SimpleNode
getValue(DoubleStack)
- Method in class org.cheffo.jeplite.
JEP
getValue(DoubleStack)
- Method in class org.cheffo.jeplite.
ASTVarNode
getValue(DoubleStack)
- Method in class org.cheffo.jeplite.
ASTFunNode
getValue(DoubleStack)
- Method in class org.cheffo.jeplite.
ASTConstant
getVarNode(String)
- Method in class org.cheffo.jeplite.
JEP
H
hasError()
- Method in class org.cheffo.jeplite.
JEP
Reports whether there is an error in the expression
I
id
- Variable in class org.cheffo.jeplite.
SimpleNode
IDENTIFIER
- Static variable in interface org.cheffo.jeplite.
ParserConstants
image
- Variable in class org.cheffo.jeplite.
Token
The string image of the token.
initFunTab()
- Method in class org.cheffo.jeplite.
JEP
Initializes the function table
initSymTab()
- Method in class org.cheffo.jeplite.
JEP
Initializes the symbol table
instances
- Static variable in class org.cheffo.jeplite.util.
SimpleNodeStack
instances
- Static variable in class org.cheffo.jeplite.util.
IntegerStack
instances
- Static variable in class org.cheffo.jeplite.util.
DoubleStack
INTEGER_LITERAL
- Static variable in interface org.cheffo.jeplite.
ParserConstants
IntegerStack
- class org.cheffo.jeplite.util.
IntegerStack
.
IntegerStack()
- Constructor for class org.cheffo.jeplite.util.
IntegerStack
IntegerStack(int)
- Constructor for class org.cheffo.jeplite.util.
IntegerStack
isEmpty()
- Method in class org.cheffo.jeplite.util.
SimpleNodeStack
isEmpty()
- Method in class org.cheffo.jeplite.util.
IntegerStack
isEmpty()
- Method in class org.cheffo.jeplite.util.
DoubleStack
J
JEP
- class org.cheffo.jeplite.
JEP
.
JEP()
- Constructor for class org.cheffo.jeplite.
JEP
jjstrLiteralImages
- Static variable in class org.cheffo.jeplite.
ParserTokenManager
jjtAccept(ParserVisitor, Object)
- Method in class org.cheffo.jeplite.
SimpleNode
jjtAccept(ParserVisitor, Object)
- Method in class org.cheffo.jeplite.
ASTVarNode
jjtAccept(ParserVisitor, Object)
- Method in class org.cheffo.jeplite.
ASTFunNode
jjtAddChild(SimpleNode, int)
- Method in class org.cheffo.jeplite.
SimpleNode
jjtClose()
- Method in class org.cheffo.jeplite.
SimpleNode
JJTCONSTANT
- Static variable in interface org.cheffo.jeplite.
ParserTreeConstants
JJTFUNNODE
- Static variable in interface org.cheffo.jeplite.
ParserTreeConstants
jjtGetChild(int)
- Method in class org.cheffo.jeplite.
SimpleNode
jjtGetNumChildren()
- Method in class org.cheffo.jeplite.
SimpleNode
jjtGetParent()
- Method in class org.cheffo.jeplite.
SimpleNode
jjtNodeName
- Static variable in interface org.cheffo.jeplite.
ParserTreeConstants
jjtOpen()
- Method in class org.cheffo.jeplite.
SimpleNode
jjtSetParent(SimpleNode)
- Method in class org.cheffo.jeplite.
SimpleNode
JJTSTART
- Static variable in interface org.cheffo.jeplite.
ParserTreeConstants
JJTVARNODE
- Static variable in interface org.cheffo.jeplite.
ParserTreeConstants
JJTVOID
- Static variable in interface org.cheffo.jeplite.
ParserTreeConstants
K
kind
- Variable in class org.cheffo.jeplite.
Token
An integer that describes the kind of this token.
L
LETTER
- Static variable in interface org.cheffo.jeplite.
ParserConstants
lexStateNames
- Static variable in class org.cheffo.jeplite.
ParserTokenManager
M
MULTIPLY
- Static variable in class org.cheffo.jeplite.function.
PostfixMathCommand
N
name
- Variable in class org.cheffo.jeplite.
SimpleNode
newToken(int)
- Static method in class org.cheffo.jeplite.
Token
Returns a new Token object, by default.
next
- Variable in class org.cheffo.jeplite.
Token
A reference to the next regular (non-special) token from the input stream.
numberOfParameters
- Variable in class org.cheffo.jeplite.function.
PostfixMathCommand
O
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Divide
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Subtract
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Comparative
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Power
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Logical
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Multiply
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Not
operation(double[])
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Modulus
optimize()
- Method in class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
OR
- Static variable in class org.cheffo.jeplite.function.
PostfixMathCommand
org.cheffo.jeplite
- package org.cheffo.jeplite
org.cheffo.jeplite.function
- package org.cheffo.jeplite.function
org.cheffo.jeplite.optimizer
- package org.cheffo.jeplite.optimizer
org.cheffo.jeplite.util
- package org.cheffo.jeplite.util
P
parent
- Variable in class org.cheffo.jeplite.
SimpleNode
ParseException
- exception org.cheffo.jeplite.
ParseException
.
ParseException()
- Constructor for class org.cheffo.jeplite.
ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String)
- Constructor for class org.cheffo.jeplite.
ParseException
ParseException(Token, int[][], String[])
- Constructor for class org.cheffo.jeplite.
ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException(Token, String)
- Constructor for class org.cheffo.jeplite.
ParseException
parseExpression(String)
- Method in class org.cheffo.jeplite.
JEP
Parses the expression
parser
- Variable in class org.cheffo.jeplite.
SimpleNode
ParserConstants
- interface org.cheffo.jeplite.
ParserConstants
.
ParserTokenManager
- class org.cheffo.jeplite.
ParserTokenManager
.
ParserTokenManager(ASCII_CharStream)
- Constructor for class org.cheffo.jeplite.
ParserTokenManager
ParserTokenManager(ASCII_CharStream, int)
- Constructor for class org.cheffo.jeplite.
ParserTokenManager
ParserTreeConstants
- interface org.cheffo.jeplite.
ParserTreeConstants
.
ParserVisitor
- interface org.cheffo.jeplite.
ParserVisitor
.
peek()
- Method in class org.cheffo.jeplite.util.
SimpleNodeStack
peek()
- Method in class org.cheffo.jeplite.util.
IntegerStack
peek()
- Method in class org.cheffo.jeplite.util.
DoubleStack
pop()
- Method in class org.cheffo.jeplite.util.
SimpleNodeStack
pop()
- Method in class org.cheffo.jeplite.util.
IntegerStack
pop()
- Method in class org.cheffo.jeplite.util.
DoubleStack
PostfixMathCommand
- class org.cheffo.jeplite.function.
PostfixMathCommand
.
PostfixMathCommand.Comparative
- class org.cheffo.jeplite.function.
PostfixMathCommand.Comparative
.
PostfixMathCommand.Comparative(int)
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand.Comparative
PostfixMathCommand.Divide
- class org.cheffo.jeplite.function.
PostfixMathCommand.Divide
.
PostfixMathCommand.Divide()
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand.Divide
PostfixMathCommand.Logical
- class org.cheffo.jeplite.function.
PostfixMathCommand.Logical
.
PostfixMathCommand.Logical(int)
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand.Logical
PostfixMathCommand.Modulus
- class org.cheffo.jeplite.function.
PostfixMathCommand.Modulus
.
PostfixMathCommand.Modulus()
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand.Modulus
PostfixMathCommand.Multiply
- class org.cheffo.jeplite.function.
PostfixMathCommand.Multiply
.
PostfixMathCommand.Multiply()
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand.Multiply
PostfixMathCommand.Not
- class org.cheffo.jeplite.function.
PostfixMathCommand.Not
.
PostfixMathCommand.Not()
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand.Not
PostfixMathCommand.Power
- class org.cheffo.jeplite.function.
PostfixMathCommand.Power
.
PostfixMathCommand.Power()
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand.Power
PostfixMathCommand.Subtract
- class org.cheffo.jeplite.function.
PostfixMathCommand.Subtract
.
PostfixMathCommand.Subtract()
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand.Subtract
PostfixMathCommand()
- Constructor for class org.cheffo.jeplite.function.
PostfixMathCommand
push(double)
- Method in class org.cheffo.jeplite.util.
DoubleStack
push(int)
- Method in class org.cheffo.jeplite.util.
IntegerStack
push(SimpleNode)
- Method in class org.cheffo.jeplite.util.
SimpleNodeStack
R
readChar()
- Method in class org.cheffo.jeplite.
ASCII_CharStream
ReInit(ASCII_CharStream)
- Method in class org.cheffo.jeplite.
ParserTokenManager
ReInit(ASCII_CharStream, int)
- Method in class org.cheffo.jeplite.
ParserTokenManager
ReInit(InputStream, int, int)
- Method in class org.cheffo.jeplite.
ASCII_CharStream
ReInit(InputStream, int, int, int)
- Method in class org.cheffo.jeplite.
ASCII_CharStream
ReInit(Reader, int, int)
- Method in class org.cheffo.jeplite.
ASCII_CharStream
ReInit(Reader, int, int, int)
- Method in class org.cheffo.jeplite.
ASCII_CharStream
removeAllElements()
- Method in class org.cheffo.jeplite.util.
SimpleNodeStack
removeAllElements()
- Method in class org.cheffo.jeplite.util.
IntegerStack
removeAllElements()
- Method in class org.cheffo.jeplite.util.
DoubleStack
removeConst(String)
- Method in class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
Unmarks a variable name to be a constant name.
run(DoubleStack)
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand
run(DoubleStack)
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Divide
run(DoubleStack)
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Comparative
run(DoubleStack)
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Power
run(DoubleStack)
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Logical
run(DoubleStack)
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Multiply
run(DoubleStack)
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Not
run(DoubleStack)
- Method in class org.cheffo.jeplite.function.
PostfixMathCommand.Modulus
S
setFunction(String, PostfixMathCommand)
- Method in class org.cheffo.jeplite.
ASTFunNode
setName(String)
- Method in class org.cheffo.jeplite.
SimpleNode
setValue(double)
- Method in class org.cheffo.jeplite.
ASTVarNode
setValue(double)
- Method in class org.cheffo.jeplite.
ASTConstant
setVarNode(String, ASTVarNode)
- Method in class org.cheffo.jeplite.
JEP
SimpleNode
- class org.cheffo.jeplite.
SimpleNode
.
SimpleNode(int)
- Constructor for class org.cheffo.jeplite.
SimpleNode
SimpleNode(Parser, int)
- Constructor for class org.cheffo.jeplite.
SimpleNode
SimpleNodeStack
- class org.cheffo.jeplite.util.
SimpleNodeStack
.
SimpleNodeStack()
- Constructor for class org.cheffo.jeplite.util.
SimpleNodeStack
SimpleNodeStack(int)
- Constructor for class org.cheffo.jeplite.util.
SimpleNodeStack
size()
- Method in class org.cheffo.jeplite.util.
SimpleNodeStack
size()
- Method in class org.cheffo.jeplite.util.
IntegerStack
size()
- Method in class org.cheffo.jeplite.util.
DoubleStack
specialConstructor
- Variable in class org.cheffo.jeplite.
ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken
- Variable in class org.cheffo.jeplite.
Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
staticFlag
- Static variable in class org.cheffo.jeplite.
ASCII_CharStream
STRING_LITERAL
- Static variable in interface org.cheffo.jeplite.
ParserConstants
SwitchTo(int)
- Method in class org.cheffo.jeplite.
ParserTokenManager
T
Token
- class org.cheffo.jeplite.
Token
.
Token()
- Constructor for class org.cheffo.jeplite.
Token
tokenImage
- Static variable in interface org.cheffo.jeplite.
ParserConstants
tokenImage
- Variable in class org.cheffo.jeplite.
ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError
- error org.cheffo.jeplite.
TokenMgrError
.
TokenMgrError()
- Constructor for class org.cheffo.jeplite.
TokenMgrError
TokenMgrError(boolean, int, String, char, int)
- Constructor for class org.cheffo.jeplite.
TokenMgrError
TokenMgrError(String, int)
- Constructor for class org.cheffo.jeplite.
TokenMgrError
toString()
- Method in class org.cheffo.jeplite.
Token
Returns the image.
toString()
- Method in class org.cheffo.jeplite.
SimpleNode
toString()
- Method in class org.cheffo.jeplite.
ASTVarNode
toString()
- Method in class org.cheffo.jeplite.
ASTFunNode
toString()
- Method in class org.cheffo.jeplite.
ASTConstant
U
UMINUS
- Static variable in class org.cheffo.jeplite.function.
PostfixMathCommand
V
visit(ASTConstant, Object)
- Method in interface org.cheffo.jeplite.
ParserVisitor
visit(ASTConstant, Object)
- Method in class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
visit(ASTFunNode, Object)
- Method in interface org.cheffo.jeplite.
ParserVisitor
visit(ASTFunNode, Object)
- Method in class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
visit(ASTVarNode, Object)
- Method in interface org.cheffo.jeplite.
ParserVisitor
visit(ASTVarNode, Object)
- Method in class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
If a var node is defined in the const table, make it to be a real constant.
visit(SimpleNode, Object)
- Method in interface org.cheffo.jeplite.
ParserVisitor
visit(SimpleNode, Object)
- Method in class org.cheffo.jeplite.optimizer.
ExpressionOptimizer
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes