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.String
access
(package private) RuleBlock
block
(package private) java.lang.String
comment
(package private) boolean
defined
(package private) Vector
references
-
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 void
addReference(RuleRefElement e)
RuleBlock
getBlock()
RuleRefElement
getReference(int i)
boolean
isDefined()
int
numReferences()
void
setBlock(RuleBlock rb)
void
setDefined()
-
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()
-
-