Antlr4.Tool.Grammar.GetUnlabeledAlternatives C# (CSharp) Method

GetUnlabeledAlternatives() public method

public GetUnlabeledAlternatives ( RuleAST ast ) : IList
ast Antlr4.Tool.Ast.RuleAST
return IList
        public virtual IList<AltAST> GetUnlabeledAlternatives(RuleAST ast)
        {
            AltLabelVisitor visitor = new AltLabelVisitor(new Antlr.Runtime.Tree.CommonTreeNodeStream(new GrammarASTAdaptor(), ast));
            visitor.rule();
            return visitor.GetUnlabeledAlternatives();
        }