public interface Metadata extends SyntaxTree
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Metadata> |
children()
Returns the direct children of this node in a flat list.
|
java.util.List<Element> |
flatten()
Returns the tree of elements under this node in a flat list.
|
default PredicateMetadata |
merge(LeafMetadata other)
Merges the node with the given node.
|
Metadata |
message(Context context)
Returns the failure message from the given context.
|
MetadataType |
type()
Returns the metadata type.
|
default PredicateMetadata merge(LeafMetadata other)
other - the other metadata to mergejava.util.List<Element> flatten()
java.util.List<Metadata> children()
MetadataType type()