public abstract class SingleChildNode extends Object implements FormulaTokenNode
Modifier and Type | Field and Description |
---|---|
protected FormulaTokenNode |
child |
Constructor and Description |
---|
SingleChildNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(FormulaTokenNode child) |
FormulaTokenNode |
getChild() |
int |
getType() |
boolean |
hasOperands() |
boolean |
isOp() |
static SingleChildNode |
newInstance(NodeId nodeId) |
FormulaTokenNode |
normalize(FormulaTokenParser parser) |
void |
setChild(FormulaTokenNode child) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getNodeId, visitChildren
protected FormulaTokenNode child
public static SingleChildNode newInstance(NodeId nodeId)
public FormulaTokenNode getChild()
public void setChild(FormulaTokenNode child)
public int getType()
getType
in interface FormulaTokenNode
public boolean hasOperands()
hasOperands
in interface FormulaTokenNode
public boolean isOp()
isOp
in interface FormulaTokenNode
public boolean add(FormulaTokenNode child)
add
in interface FormulaTokenNode
public FormulaTokenNode normalize(FormulaTokenParser parser)
normalize
in interface FormulaTokenNode
Copyright © 2023. All rights reserved.