Jet.Parser
Class Edge

java.lang.Object
  extended byJet.Parser.Edge
Direct Known Subclasses:
ActiveEdge, ParseTreeNode

public abstract class Edge
extends java.lang.Object

an abstract class for both inactive edges (complete parse tree nodes) and active edges (partially matched productions).


Field Summary
 java.lang.Object category
          the category of this node: either a String (grammar symbol) or a Literal.
 ParseTreeNode[] children
          for non-leaf nodes, the children of this node.
 int end
          the last character (of the document) spanned by this node
 int start
          the first character (of the document) spanned by this node
 
Constructor Summary
Edge()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

category

public java.lang.Object category
the category of this node: either a String (grammar symbol) or a Literal.


children

public ParseTreeNode[] children
for non-leaf nodes, the children of this node. (For leaf nodes, = null.)


start

public int start
the first character (of the document) spanned by this node


end

public int end
the last character (of the document) spanned by this node

Constructor Detail

Edge

public Edge()