Package io.dialob.rule.parser.node
Class CallExprNode
- java.lang.Object
-
- io.dialob.rule.parser.node.NodeBase
-
- io.dialob.rule.parser.node.CallExprNode
-
- All Implemented Interfaces:
TypedNode,Serializable
- Direct Known Subclasses:
ReducerExprNode
public class CallExprNode extends NodeBase
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CallExprNode(NodeBase parent, @NotNull NodeOperator nodeOperator, ValueType type, Span span)CallExprNode(NodeBase parent, @NotNull NodeOperator nodeOperator, Span span)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeBaseaccept(@NotNull ASTVisitor visitor)CallExprNodeaddSubnode(@NotNull NodeBase node)Map<String,ValueType>getAllDependencies()@NotNull Map<String,ValueType>getDependencies()<T extends NodeBase>
TgetLhs()@NotNull NodeOperatorgetNodeOperator()<T extends NodeBase>
TgetRhs()@NotNull List<NodeBase>getSubnodes()StringtoString()StringtoString(String indent)StringtoTypedString()-
Methods inherited from class io.dialob.rule.parser.node.NodeBase
equals, getParent, getSpan, getValueType, hashCode, isConstant, isIdentifier, setParent, setValueType
-
-
-
-
Constructor Detail
-
CallExprNode
public CallExprNode(NodeBase parent, @NotNull @NotNull NodeOperator nodeOperator, Span span)
-
CallExprNode
public CallExprNode(NodeBase parent, @NotNull @NotNull NodeOperator nodeOperator, ValueType type, Span span)
-
-
Method Detail
-
addSubnode
public CallExprNode addSubnode(@NotNull @NotNull NodeBase node)
- Overrides:
addSubnodein classNodeBase
-
getNodeOperator
@NotNull public @NotNull NodeOperator getNodeOperator()
- Specified by:
getNodeOperatorin classNodeBase
-
getLhs
@Nullable public <T extends NodeBase> T getLhs()
-
getRhs
@Nullable public <T extends NodeBase> T getRhs()
-
toTypedString
public String toTypedString()
- Overrides:
toTypedStringin classNodeBase
-
getSubnodes
@NotNull public @NotNull List<NodeBase> getSubnodes()
- Overrides:
getSubnodesin classNodeBase
-
accept
public NodeBase accept(@NotNull @NotNull ASTVisitor visitor)
-
getDependencies
@NotNull public @NotNull Map<String,ValueType> getDependencies()
- Overrides:
getDependenciesin classNodeBase
-
getAllDependencies
public Map<String,ValueType> getAllDependencies()
- Overrides:
getAllDependenciesin classNodeBase
-
-