Antlr4.Tool.Grammar.GetUnlabeledAlternatives C# (CSharp) 메소드

GetUnlabeledAlternatives() 공개 메소드

public GetUnlabeledAlternatives ( RuleAST ast ) : IList
ast Antlr4.Tool.Ast.RuleAST
리턴 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();
        }