Package org.nineml.coffeegrinder.trees
Class GenericBranch
- java.lang.Object
-
- org.nineml.coffeegrinder.trees.GenericTree
-
- org.nineml.coffeegrinder.trees.GenericBranch
-
public class GenericBranch extends GenericTree
A branch (nonterminal) in a generic tree.
-
-
Field Summary
Fields Modifier and Type Field Description NonterminalSymbolsymbolThe symbol.-
Fields inherited from class org.nineml.coffeegrinder.trees.GenericTree
attributes, leftExtent, rightExtent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GenericTree>getChildren()Get the children of this tree.-
Methods inherited from class org.nineml.coffeegrinder.trees.GenericTree
getAttribute, getAttributes, getParent
-
-
-
-
Field Detail
-
symbol
public final NonterminalSymbol symbol
The symbol.
-
-
Method Detail
-
getChildren
public java.util.List<GenericTree> getChildren()
Description copied from class:GenericTreeGet the children of this tree.- Overrides:
getChildrenin classGenericTree- Returns:
- the children.
-
-