Interface Node
- All Known Subinterfaces:
Node.Root
- All Known Implementing Classes:
ElementNode,RootNode,TagNode,TextNode,ValueNode
A node in the MiniMessage parse tree.
This API is currently incomplete -- it will be expanded in future versions based on user interest.
- Since:
- 4.10.0
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
toString
String toString()Get a human-readable representation of this node and its descendants for debugging purposes. -
children
Get children of this node.The returned list is unmodifiable.
- Returns:
- a list of children
- Since:
- 4.10.0
-
parent
@Nullable Node parent()Get the parent of this node.If this node is at the root of the tree, this may be
null.- Returns:
- this node's parent
- Since:
- 4.10.0
-