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

StarBlock() public method

public StarBlock ( OutputModelFactory factory, GrammarAST blkOrEbnfRootAST, IList alts ) : System.Collections.Generic
factory OutputModelFactory
blkOrEbnfRootAST Antlr4.Tool.Ast.GrammarAST
alts IList
return System.Collections.Generic
        public StarBlock(OutputModelFactory factory,
                         GrammarAST blkOrEbnfRootAST,
                         IList<CodeBlockForAlt> alts)
            : base(factory, blkOrEbnfRootAST, alts)
        {
            loopLabel = factory.GetTarget().GetLoopLabel(blkOrEbnfRootAST);
            StarLoopEntryState star = (StarLoopEntryState)blkOrEbnfRootAST.atnState;
            loopBackStateNumber = star.loopBackState.stateNumber;
            decision = star.decision;
        }
    }
StarBlock