- value
- getChildrenAsList
Returns a List of children for the current node. If there are no children, then
a (non-null) List of
- isLeaf
Says whether a node is a leaf. Can be used on an arbitrary Tree. Being a leaf is
defined as having n
- label
Returns the label associated with the current node, or null if there is no
label. The default implem
- children
Returns an array of children for the current node. If there are no children (if
the node is a leaf),
- getLeaves
Gets the leaves of the tree.
- nodeString
Returns the value of the node's label as a String. This is done by calling
toString() on the value,
- taggedYield
Gets the tagged yield of the tree -- that is, get the preterminals as well as
the terminals. The Lab
- firstChild
Returns the first child of a tree, or null if none.
- getChild
Return the child at some daughter index. The children are numbered starting with
an index of 0.
- indexSpans
Assigns span indices (BeginIndexAnnotation and EndIndexAnnotation) to all nodes
in a tree. The begin
- numChildren
Says how many children a tree node has in its local tree. Can be used on an
arbitrary Tree. Being a