Jet.Parser
Class Reduce

java.lang.Object
  extended byJet.Parser.Reduce

public class Reduce
extends java.lang.Object

a reduce goal for top-down parsing.


Field Summary
 java.lang.String category
           
 int numberOfChildren
           
 
Constructor Summary
Reduce(java.lang.String cat, int numChildren)
          creates a Reduce goal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

category

public java.lang.String category

numberOfChildren

public int numberOfChildren
Constructor Detail

Reduce

public Reduce(java.lang.String cat,
              int numChildren)
creates a Reduce goal. If reached on the goal stack, it will reduce numChildren nodes to a constituent of category cat.