Antlr4.Codegen.ParserFactory.Alternative C# (CSharp) Method

Alternative() public method

public Alternative ( Alternative alt, bool outerMost ) : CodeBlockForAlt
alt Antlr4.Tool.Alternative
outerMost bool
return Antlr4.Codegen.Model.CodeBlockForAlt
        public override CodeBlockForAlt Alternative(Alternative alt, bool outerMost)
        {
            if (outerMost)
                return new CodeBlockForOuterMostAlt(this, alt);
            return new CodeBlockForAlt(this);
        }