Package org.apache.poi.ss.formula.token
Class FunctionNode
- java.lang.Object
-
- org.apache.poi.ss.formula.token.DefaultTokenNode<FormulaTokenNode>
-
- org.apache.poi.ss.formula.token.FunctionNode
-
- All Implemented Interfaces:
FormulaTokenNode
public class FunctionNode extends DefaultTokenNode<FormulaTokenNode>
-
-
Field Summary
-
Fields inherited from class org.apache.poi.ss.formula.token.DefaultTokenNode
value
-
-
Constructor Summary
Constructors Constructor Description FunctionNode(FormulaTokenNode value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(TokenNodeVisitor<R> visitor)
Use the given [visitor] to visit this node.boolean
add(FormulaTokenNode child)
FormulaTokenNode[]
getChildren()
int
getChildrenLength()
NodeId
getNodeId()
int
getType()
boolean
hasOperands()
FormulaTokenNode
normalize(FormulaTokenParser parser)
String
toString()
<R> List<R>
visitChildren(TokenNodeVisitor<R> visitor)
Use the given [visitor] to visit all of the children of this node.-
Methods inherited from class org.apache.poi.ss.formula.token.DefaultTokenNode
getValue, isOp
-
-
-
-
Constructor Detail
-
FunctionNode
public FunctionNode(FormulaTokenNode value)
-
-
Method Detail
-
getChildren
public FormulaTokenNode[] getChildren()
-
getChildrenLength
public int getChildrenLength()
-
getNodeId
public NodeId getNodeId()
-
getType
public int getType()
-
hasOperands
public boolean hasOperands()
-
add
public boolean add(FormulaTokenNode child)
-
normalize
public FormulaTokenNode normalize(FormulaTokenParser parser)
-
accept
public <R> R accept(TokenNodeVisitor<R> visitor)
Description copied from interface:FormulaTokenNode
Use the given [visitor] to visit this node. Return the value returned by the visitor as a result of visiting this node.
-
visitChildren
public <R> List<R> visitChildren(TokenNodeVisitor<R> visitor)
Description copied from interface:FormulaTokenNode
Use the given [visitor] to visit all of the children of this node. Return the values returned by the visitor as a result of visiting each child node.
-
-