public Loop ( OutputModelFactory factory, |
||
factory | OutputModelFactory | |
blkOrEbnfRootAST | ||
alts | IList |
|
return | System.Collections.Generic |
public Loop(OutputModelFactory factory,
GrammarAST blkOrEbnfRootAST,
IList<CodeBlockForAlt> alts)
: base(factory, blkOrEbnfRootAST, alts)
{
bool nongreedy = (blkOrEbnfRootAST is QuantifierAST) && !((QuantifierAST)blkOrEbnfRootAST).GetGreedy();
exitAlt = nongreedy ? 1 : alts.Count + 1;
}