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); } }