Java.parser
Class FunctionParser
java.lang.Object
Java.parser.FunctionParser
public class FunctionParser
- extends java.lang.Object
Class supporting parsing of equations
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_FORMEVAL
public static final int ERROR_FORMEVAL
- See Also:
- Constant Field Values
expr
protected java.lang.String expr
PFNExpr
protected java.util.Vector<FunctionParser.PFNField> PFNExpr
tokenExpr
protected java.util.Vector<FunctionParser.PFNField> tokenExpr
tokenStack
protected java.util.Stack<FunctionParser.PFNField> tokenStack
_error
protected int _error
_functions
protected FunctionParser.Function[] _functions
- Supported functions
Here, order is significant.
index
public static int index
FunctionParser
public FunctionParser(java.lang.String function)
getNextMorphem
protected FunctionParser.PFNField getNextMorphem()
determineFunctionForToken
protected FunctionParser.Function determineFunctionForToken(java.lang.String token)
tokenize
protected void tokenize()
convertToPFN
protected void convertToPFN()
DumpPFN
public void DumpPFN()
getFuncNum
protected int getFuncNum(FunctionParser.Function func)
getSBML
public java.lang.String getSBML()
main
public static void main(java.lang.String[] args)