public abstract class Choice extends RuleElement
| Modifier and Type | Field and Description |
|---|---|
List<CodeBlockForAlt> |
alts |
int |
decision |
Decl |
label |
List<SrcOp> |
preamble |
stateNumberenclosingBlock, enclosingRuleRunction, uniqueIDast, factory| Constructor and Description |
|---|
Choice(OutputModelFactory factory,
GrammarAST blkOrEbnfRootAST,
List<CodeBlockForAlt> alts) |
| Modifier and Type | Method and Description |
|---|---|
TestSetInline |
addCodeForLookaheadTempVar(IntervalSet look) |
void |
addPreambleOp(SrcOp op) |
List<String[]> |
getAltLookaheadAsStringLists(IntervalSet[] altLookSets) |
ThrowNoViableAlt |
getThrowNoViableAlt(OutputModelFactory factory,
GrammarAST blkAST,
IntervalSet expecting) |
getContextName, getOuterMostAltCodeBlockpublic int decision
public Decl label
public List<CodeBlockForAlt> alts
public Choice(OutputModelFactory factory, GrammarAST blkOrEbnfRootAST, List<CodeBlockForAlt> alts)
public void addPreambleOp(SrcOp op)
public List<String[]> getAltLookaheadAsStringLists(IntervalSet[] altLookSets)
public TestSetInline addCodeForLookaheadTempVar(IntervalSet look)
public ThrowNoViableAlt getThrowNoViableAlt(OutputModelFactory factory, GrammarAST blkAST, IntervalSet expecting)
Copyright © 1992–2020 Tunnel Vision Laboratories, LLC. All rights reserved.