Class ParseTree


  • public class ParseTree
    extends java.lang.Object
    A parse tree used when finding trees in the forest.

    This tree is exposed to the Axe during tree construction so that it's possible to determine what parts of the tree have already been constructed.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      ParseTree parent
      The parent of this tree.
      Vertex vertex
      The vertex of this tree.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ParseTree> getChildren()
      Get the children of the tree.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • vertex

        public final Vertex vertex
        The vertex of this tree.
      • parent

        public final ParseTree parent
        The parent of this tree.
    • Method Detail

      • getChildren

        public java.util.List<ParseTree> getChildren()
        Get the children of the tree.
        Returns:
        the children.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object