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.


Field Summary
protected  String id
           
 
Constructor Summary
GrammarSymbol()
           
GrammarSymbol(String s)
           
 
Method Summary
 String getId()
           
 void setId(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id
Constructor Detail

GrammarSymbol

public GrammarSymbol()

GrammarSymbol

public GrammarSymbol(String s)
Method Detail

getId

public String getId()

setId

public void setId(String s)


comments?