Package antlr
Class RuleSymbol
- java.lang.Object
-
- antlr.GrammarSymbol
-
- antlr.RuleSymbol
-
class RuleSymbol extends GrammarSymbol
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringaccess(package private) RuleBlockblock(package private) java.lang.Stringcomment(package private) booleandefined(package private) Vectorreferences-
Fields inherited from class antlr.GrammarSymbol
id
-
-
Constructor Summary
Constructors Constructor Description RuleSymbol(java.lang.String r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddReference(RuleRefElement e)RuleBlockgetBlock()RuleRefElementgetReference(int i)booleanisDefined()intnumReferences()voidsetBlock(RuleBlock rb)voidsetDefined()-
Methods inherited from class antlr.GrammarSymbol
getId, setId
-
-
-
-
Method Detail
-
addReference
public void addReference(RuleRefElement e)
-
getBlock
public RuleBlock getBlock()
-
getReference
public RuleRefElement getReference(int i)
-
isDefined
public boolean isDefined()
-
numReferences
public int numReferences()
-
setBlock
public void setBlock(RuleBlock rb)
-
setDefined
public void setDefined()
-
-