Antlr4.Codegen.Model.AltBlock.AltBlock C# (CSharp) Method

AltBlock() public method

public AltBlock ( OutputModelFactory factory, GrammarAST blkOrEbnfRootAST, IList alts ) : System.Collections.Generic
factory OutputModelFactory
blkOrEbnfRootAST Antlr4.Tool.Ast.GrammarAST
alts IList
return System.Collections.Generic
        public AltBlock(OutputModelFactory factory,
                        GrammarAST blkOrEbnfRootAST,
                        IList<CodeBlockForAlt> alts)
            : base(factory, blkOrEbnfRootAST, alts)
        {
            decision = ((BlockStartState)blkOrEbnfRootAST.atnState).decision;
            // interp.predict() throws exception
            //		this.error = new ThrowNoViableAlt(factory, blkOrEbnfRootAST, null);
        }
    }
AltBlock