antlr

Class WildcardElement


(package private) class WildcardElement
extends GrammarAtom

Field Summary

protected String
label

Fields inherited from class antlr.GrammarAtom

ASTNodeType, atomText, label, not, tokenType

Fields inherited from class antlr.AlternativeElement

autoGenType, enclosingRuleName, next

Fields inherited from class antlr.GrammarElement

AUTO_GEN_BANG, AUTO_GEN_CARET, AUTO_GEN_NONE, column, grammar, line

Constructor Summary

WildcardElement(Grammar g, Token t, int autoGenType)

Method Summary

void
generate()
String
getLabel()
Lookahead
look(int k)
void
setLabel(String label_)
String
toString()

Methods inherited from class antlr.GrammarAtom

getASTNodeType, getLabel, getText, getType, setASTNodeType, setLabel, setOption, toString

Methods inherited from class antlr.AlternativeElement

getAutoGenType, getLabel, setAutoGenType, setLabel

Methods inherited from class antlr.GrammarElement

generate, getColumn, getLine, look, toString

Field Details

label

protected String label

Constructor Details

WildcardElement

public WildcardElement(Grammar g,
                       Token t,
                       int autoGenType)

Method Details

generate

public void generate()
Overrides:
generate in interface GrammarElement

getLabel

public String getLabel()
Overrides:
getLabel in interface GrammarAtom

look

public Lookahead look(int k)
Overrides:
look in interface GrammarElement

setLabel

public void setLabel(String label_)
Overrides:
setLabel in interface GrammarAtom

toString

public String toString()
Overrides:
toString in interface GrammarAtom