net.sf.parser4j.parser.entity.data
Class NonTerminal
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NonTerminal
public NonTerminal(int identifier,
java.lang.String name,
boolean token,
boolean stringToken,
boolean intermediate)
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.