|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.numerics.mathexpressions.ExpressionParser
public class ExpressionParser
Class to parse arbitrary well formed mathematical expression This class also contains a custom scanner class
Constructor Summary | |
---|---|
ExpressionParser(java.lang.String expression)
|
Method Summary | |
---|---|
AbstractMathExpression |
getMathExpression()
Returns a parse tree equivalent for supplied mathematical expression |
void |
runBracketCheck()
Determines if the braces delineating expressions are balanced and well formed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionParser(java.lang.String expression)
Method Detail |
---|
public AbstractMathExpression getMathExpression()
public void runBracketCheck()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |