|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.japisoft.formula.node.NodeFactory
Factory for selecting a node. This factory is used by the parsing listener for creating a formula tree.
If you wish to use your node, you have to override this class
More information at : http://www.japisoft.com
Constructor Summary | |
NodeFactory(FormulaContext context)
Default factory for a standard mode |
|
NodeFactory(FormulaContext context,
boolean bigDecimalMode)
|
Method Summary | |
AbstractNode |
getBinaryOperatorNode(java.lang.String operator)
|
AbstractNode |
getFunctionNode()
|
AbstractNode |
getGroupNode()
|
AbstractNode |
getListNode()
|
AbstractNode |
getRootNode()
|
AbstractNode |
getTernaryOperatorNode(java.lang.String operator)
|
AbstractNode |
getUnaryOperatorNode(java.lang.String operator)
|
AbstractNode |
getValueNode()
|
AbstractNode |
getVariableNode()
|
void |
setCurrentPos(int line,
int column)
Reset the current parse location |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeFactory(FormulaContext context)
public NodeFactory(FormulaContext context, boolean bigDecimalMode)
Method Detail |
public void setCurrentPos(int line, int column)
public AbstractNode getRootNode()
public AbstractNode getFunctionNode()
public AbstractNode getVariableNode()
public AbstractNode getGroupNode()
public AbstractNode getListNode()
public AbstractNode getTernaryOperatorNode(java.lang.String operator)
public AbstractNode getBinaryOperatorNode(java.lang.String operator)
public AbstractNode getUnaryOperatorNode(java.lang.String operator)
public AbstractNode getValueNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |