antlr

Class RuleSymbol

class RuleSymbol extends GrammarSymbol

Field Summary
Stringaccess
RuleBlockblock
Stringcomment
booleandefined
Vectorreferences
Constructor Summary
RuleSymbol(String r)
Method Summary
voidaddReference(RuleRefElement e)
RuleBlockgetBlock()
RuleRefElementgetReference(int i)
booleanisDefined()
intnumReferences()
voidsetBlock(RuleBlock rb)
voidsetDefined()

Field Detail

access

String access

block

RuleBlock block

comment

String comment

defined

boolean defined

references

Vector references

Constructor Detail

RuleSymbol

public RuleSymbol(String r)

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()