antlr
Class GrammarSymbol
java.lang.Object
|
+--antlr.GrammarSymbol
- Direct Known Subclasses:
- RuleSymbol, TokenSymbol
- abstract class GrammarSymbol
- extends Object
A GrammarSymbol is a generic symbol that can be
added to the symbol table for a grammar.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected String id
GrammarSymbol
public GrammarSymbol()
GrammarSymbol
public GrammarSymbol(String s)
getId
public String getId()
setId
public void setId(String s)
comments?