net.sf.parser4j.parser.entity.data
Class NonTerminal

java.lang.Object
  extended by net.sf.parser4j.parser.entity.data.NonTerminal
All Implemented Interfaces:
java.io.Serializable

public class NonTerminal
extends java.lang.Object
implements java.io.Serializable

Author:
luc peuvrier
See Also:
Serialized Form

Constructor Summary
NonTerminal(int identifier, java.lang.String name, boolean token, boolean stringToken, boolean intermediate)
           
 
Method Summary
 int getIdentifier()
           
 java.lang.String getName()
           
 boolean isEmptyReduction()
           
 boolean isIntermediate()
           
 boolean isStringToken()
           
 boolean isToken()
           
 void setEmptyReduction(boolean emptyReduction)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonTerminal

public NonTerminal(int identifier,
                   java.lang.String name,
                   boolean token,
                   boolean stringToken,
                   boolean intermediate)
Method Detail

getIdentifier

public int getIdentifier()

getName

public java.lang.String getName()

isToken

public boolean isToken()

isStringToken

public boolean isStringToken()

isIntermediate

public boolean isIntermediate()

setEmptyReduction

public void setEmptyReduction(boolean emptyReduction)

isEmptyReduction

public boolean isEmptyReduction()

toString

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


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.