Jet.Parser
Class Production

java.lang.Object
  extended byJet.Parser.Production

public class Production
extends java.lang.Object

a production of the context-free grammar.


Constructor Summary
Production(java.lang.String lhs, java.util.Vector rhs)
          creates a new Production with the specified left hand side and right hand side.
 
Method Summary
 java.lang.String lhs()
          the left-hand side (defined symbol) of the production.
 java.util.Vector rhs()
          the right-hand size of the production: a vector of Strings (grammar symbols) and Literals.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Production

public Production(java.lang.String lhs,
                  java.util.Vector rhs)
creates a new Production with the specified left hand side and right hand side.

Method Detail

lhs

public java.lang.String lhs()
the left-hand side (defined symbol) of the production.


rhs

public java.util.Vector rhs()
the right-hand size of the production: a vector of Strings (grammar symbols) and Literals.