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> Taccept(NodeVisitor<NodeType,T> visitor)default voidaddAllChildren(List<? extends Node<NodeType>> nodes)default voidaddChild(Node<NodeType> node)default booleanequalsWithoutChildren(Node<NodeType> other)default List<? extends Node<NodeType>>getChildren()NodeTypegetNodeLiteral()
-
-
-
Method Detail
-
getNodeLiteral
NodeType getNodeLiteral()
-
getChildren
default List<? extends Node<NodeType>> getChildren()
- Specified by:
getChildrenin interfaceNode<NodeType>
-
addAllChildren
default void addAllChildren(List<? extends Node<NodeType>> nodes)
- Specified by:
addAllChildrenin interfaceNode<NodeType>
-
equalsWithoutChildren
default boolean equalsWithoutChildren(Node<NodeType> other)
- Specified by:
equalsWithoutChildrenin interfaceNode<NodeType>
-
accept
default <T> T accept(NodeVisitor<NodeType,T> visitor)
-
-