org.javacc.parser
Class NormalProduction

java.lang.Object
  extended by org.javacc.parser.NormalProduction
Direct Known Subclasses:
BNFProduction, JavaCodeProduction

public class NormalProduction
extends java.lang.Object

Describes JavaCC productions.


Field Summary
 int column
          The line and column number of the construct that corresponds most closely to this node.
 Expansion expansion
          The RHS of this production.
 Token firstToken
          The first and last tokens from the input stream that represent this production.
 Token lastToken
          The first and last tokens from the input stream that represent this production.
 java.lang.String lhs
          The name of the non-terminal of this production.
 int line
          The line and column number of the construct that corresponds most closely to this node.
 java.util.Vector parameter_list_tokens
          The tokens that make up the parameters of this production.
 java.util.Vector return_type_tokens
          The tokens that make up the return type of this production.
 java.util.Vector throws_list
          Each entry in this vector is a vector of tokens that represents an exception in the throws list of this production.
 
Constructor Summary
NormalProduction()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

line

public int line
The line and column number of the construct that corresponds most closely to this node.


column

public int column
The line and column number of the construct that corresponds most closely to this node.


lhs

public java.lang.String lhs
The name of the non-terminal of this production.


return_type_tokens

public java.util.Vector return_type_tokens
The tokens that make up the return type of this production.


parameter_list_tokens

public java.util.Vector parameter_list_tokens
The tokens that make up the parameters of this production.


throws_list

public java.util.Vector throws_list
Each entry in this vector is a vector of tokens that represents an exception in the throws list of this production. This list does not include ParseException which is always thrown.


expansion

public Expansion expansion
The RHS of this production. Not used for JavaCodeProduction.


firstToken

public Token firstToken
The first and last tokens from the input stream that represent this production.


lastToken

public Token lastToken
The first and last tokens from the input stream that represent this production.

Constructor Detail

NormalProduction

public NormalProduction()