antlr.preprocessor
Class Option
java.lang.Object
|
+--antlr.preprocessor.Option
- class Option
- extends java.lang.Object
Constructor Summary |
Option(java.lang.String n,
java.lang.String rhs,
Grammar gr)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected java.lang.String name
rhs
protected java.lang.String rhs
enclosingGrammar
protected Grammar enclosingGrammar
Option
public Option(java.lang.String n,
java.lang.String rhs,
Grammar gr)
getEnclosingGrammar
public Grammar getEnclosingGrammar()
getName
public java.lang.String getName()
getRHS
public java.lang.String getRHS()
setEnclosingGrammar
public void setEnclosingGrammar(Grammar g)
setName
public void setName(java.lang.String n)
setRHS
public void setRHS(java.lang.String rhs)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object