|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--calc.ExprParser
Parses the user input and constructs Operational Tree
| Constructor Summary | |
ExprParser(java.lang.String input)
|
|
| Method Summary | |
BaseCalc |
getOperationTree()
returns the constructed Operational Tree by its root node |
java.util.Vector |
getVariableCalcs()
returns a Vector with all nodes of type VariableCalc
used for the insertion of values |
static void |
main(java.lang.String[] args)
For testing purposes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExprParser(java.lang.String input)
throws calc.SyntaxErrorException
input - the String to be parsed| Method Detail |
public BaseCalc getOperationTree()
public java.util.Vector getVariableCalcs()
VariableCalc
used for the insertion of valuespublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||