net.sf.parser4j.generator.entity.grammardefnode
Class RuleDef
java.lang.Object
net.sf.parser4j.generator.entity.grammardefnode.RuleDef
- All Implemented Interfaces:
- IGrammarDefNode, IParseNodeData
public class RuleDef
- extends java.lang.Object
- implements IGrammarDefNode
- Author:
- luc peuvrier
Constructor Summary |
RuleDef(java.lang.String identifierDefined,
StatementDef statementDef,
boolean token)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuleDef
public RuleDef(java.lang.String identifierDefined,
StatementDef statementDef,
boolean token)
getNonTerminalDefinedName
public java.lang.String getNonTerminalDefinedName()
getStatementDef
public StatementDef getStatementDef()
isToken
public boolean isToken()
accept
public void accept(IGrammarDefVisitor visitor)
throws GrammarDefNodeVisitException
- Specified by:
accept
in interface IGrammarDefNode
- Throws:
GrammarDefNodeVisitException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.