public abstract class Choice extends RuleElement
| Modifier and Type | Field and Description |
|---|---|
List |
alts
|
int |
decision
|
Decl |
label
|
List |
preamble
|
stateNumberenclosingBlock, enclosingRuleRunction, uniqueIDast, factory| Constructor and Description |
|---|
Choice(OutputModelFactory
|
| Modifier and Type | Method and Description |
|---|---|
TestSetInline |
addCodeForLookaheadTempVar(IntervalSet look)
|
void |
addPreambleOp(SrcOp
|
List |
getAltLookaheadAsStringLists(IntervalSet
|
ThrowNoViableAlt |
getThrowNoViableAlt(OutputModelFactory
|
getContextName, getOuterMostAltCodeBlockpublic int decision
public Decllabel
public List<CodeBlockForAlt > alts
public Choice(OutputModelFactoryfactory, GrammarAST blkOrEbnfRootAST, List <CodeBlockForAlt > alts)
public void addPreambleOp(SrcOpop)
public List<String []> getAltLookaheadAsStringLists(IntervalSet [] altLookSets)
public TestSetInlineaddCodeForLookaheadTempVar(IntervalSet look)
public ThrowNoViableAltgetThrowNoViableAlt(OutputModelFactory factory, GrammarAST blkAST, IntervalSet expecting)