Package io.dialob.rule.parser.node
Class ConstExprNode
- java.lang.Object
-
- io.dialob.rule.parser.node.NodeBase
-
- io.dialob.rule.parser.node.ConstExprNode
-
- All Implemented Interfaces:
TypedNode,Serializable
public class ConstExprNode extends NodeBase
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeBaseaccept(@NotNull ASTVisitor visitor)ObjectgetAsValueType()ObjectgetAsValueType(ValueType valueType)@NotNull NodeOperatorgetNodeOperator()StringgetUnit()StringgetValue()booleanisConstant()booleanisNull()StringtoString()StringtoTypedString()-
Methods inherited from class io.dialob.rule.parser.node.NodeBase
addSubnode, equals, getAllDependencies, getDependencies, getParent, getSpan, getSubnodes, getValueType, hashCode, isIdentifier, setParent, setValueType, toString
-
-
-
-
Method Detail
-
isConstant
public boolean isConstant()
- Overrides:
isConstantin classNodeBase
-
getNodeOperator
@NotNull public @NotNull NodeOperator getNodeOperator()
- Specified by:
getNodeOperatorin classNodeBase
-
isNull
public boolean isNull()
-
getValue
public String getValue()
-
getUnit
public String getUnit()
-
getAsValueType
public Object getAsValueType()
-
toTypedString
public String toTypedString()
- Overrides:
toTypedStringin classNodeBase
-
accept
public NodeBase accept(@NotNull @NotNull ASTVisitor visitor)
-
-