antlr
Class GrammarSymbol

java.lang.Object
  |
  +--antlr.GrammarSymbol
Direct Known Subclasses:
RuleSymbol, TokenSymbol

abstract class GrammarSymbol
extends java.lang.Object

A GrammarSymbol is a generic symbol that can be added to the symbol table for a grammar.


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

Field Detail

id

protected java.lang.String id
Constructor Detail

GrammarSymbol

public GrammarSymbol()

GrammarSymbol

public GrammarSymbol(java.lang.String s)
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String s)