public abstract class ErrorNode extends Object implements FormulaTokenNode
Modifier and Type | Field and Description |
---|---|
static ErrorNode |
DIV_ERROR |
static ErrorNode |
NA_ERROR |
static ErrorNode |
NAME_ERROR |
static ErrorNode |
NULL_ERROR |
static ErrorNode |
NUM_ERROR |
static ErrorNode |
REF_ERROR |
static ErrorNode |
VALUE_ERROR |
Constructor and Description |
---|
ErrorNode() |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(TokenNodeVisitor<R> visitor)
Use the given [visitor] to visit this node.
|
boolean |
add(FormulaTokenNode child) |
abstract int |
getErrorCode() |
NodeId |
getNodeId() |
int |
getType() |
boolean |
hasOperands() |
boolean |
isOp() |
FormulaTokenNode |
normalize(FormulaTokenParser parser) |
<R> List<R> |
visitChildren(TokenNodeVisitor<R> visitor)
Use the given [visitor] to visit all of the children of this node.
|
public static final ErrorNode DIV_ERROR
public static final ErrorNode NA_ERROR
public static final ErrorNode NAME_ERROR
public static final ErrorNode NULL_ERROR
public static final ErrorNode NUM_ERROR
public static final ErrorNode REF_ERROR
public static final ErrorNode VALUE_ERROR
public abstract int getErrorCode()
public NodeId getNodeId()
getNodeId
in interface FormulaTokenNode
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
public <R> R accept(TokenNodeVisitor<R> visitor)
FormulaTokenNode
accept
in interface FormulaTokenNode
public <R> List<R> visitChildren(TokenNodeVisitor<R> visitor)
FormulaTokenNode
visitChildren
in interface FormulaTokenNode
Copyright © 2023. All rights reserved.