antlr

Class ActionElement


(package private) class ActionElement
extends AlternativeElement

Field Summary

protected String
actionText
protected boolean
isSemPred

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

ActionElement(Grammar g, Token t)

Method Summary

void
generate()
Lookahead
look(int k)
String
toString()

Methods inherited from class antlr.AlternativeElement

getAutoGenType, getLabel, setAutoGenType, setLabel

Methods inherited from class antlr.GrammarElement

generate, getColumn, getLine, look, toString

Field Details

actionText

protected String actionText


isSemPred

protected boolean isSemPred

Constructor Details

ActionElement

public ActionElement(Grammar g,
                     Token t)

Method Details

generate

public void generate()
Overrides:
generate in interface GrammarElement


look

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


toString

public String toString()
Overrides:
toString in interface GrammarElement