Package tools.mdsd.somde.services.node
Interface Literal<NodeType>
-
- All Superinterfaces:
Node<NodeType>
,NodeVisitor.NodeVisitorAcceptor<NodeType>
- All Known Implementing Classes:
NodeLiteralImpl
public interface Literal<NodeType> extends Node<NodeType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T> T
accept(NodeVisitor<NodeType,T> visitor)
default void
addAllChildren(List<? extends Node<NodeType>> nodes)
default void
addChild(Node<NodeType> node)
default boolean
equalsWithoutChildren(Node<NodeType> other)
default List<? extends Node<NodeType>>
getChildren()
NodeType
getNodeLiteral()
-
-
-
Method Detail
-
getNodeLiteral
NodeType getNodeLiteral()
-
getChildren
default List<? extends Node<NodeType>> getChildren()
- Specified by:
getChildren
in interfaceNode<NodeType>
-
addAllChildren
default void addAllChildren(List<? extends Node<NodeType>> nodes)
- Specified by:
addAllChildren
in interfaceNode<NodeType>
-
equalsWithoutChildren
default boolean equalsWithoutChildren(Node<NodeType> other)
- Specified by:
equalsWithoutChildren
in interfaceNode<NodeType>
-
accept
default <T> T accept(NodeVisitor<NodeType,T> visitor)
-
-