antlr

Class AlternativeElement

abstract class AlternativeElement extends GrammarElement

Field Summary
protected intautoGenType
protected StringenclosingRuleName
AlternativeElementnext
Constructor Summary
AlternativeElement(Grammar g)
AlternativeElement(Grammar g, Token start)
AlternativeElement(Grammar g, Token start, int autoGenType_)
Method Summary
intgetAutoGenType()
StringgetLabel()
voidsetAutoGenType(int a)
voidsetLabel(String label)

Field Detail

autoGenType

protected int autoGenType

enclosingRuleName

protected String enclosingRuleName

AlternativeElement next

Constructor Detail

AlternativeElement

public AlternativeElement(Grammar g)

AlternativeElement

public AlternativeElement(Grammar g, Token start)

AlternativeElement

public AlternativeElement(Grammar g, Token start, int autoGenType_)

Method Detail

getAutoGenType

public int getAutoGenType()

getLabel

public String getLabel()

setAutoGenType

public void setAutoGenType(int a)

setLabel

public void setLabel(String label)