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

GetLabeledAlternatives() 공개 메소드

public GetLabeledAlternatives ( RuleAST ast ) : IDictionary>>
ast Antlr4.Tool.Ast.RuleAST
리턴 IDictionary>>
        public virtual IDictionary<string, IList<System.Tuple<int, AltAST>>> GetLabeledAlternatives(RuleAST ast)
        {
            AltLabelVisitor visitor = new AltLabelVisitor(new Antlr.Runtime.Tree.CommonTreeNodeStream(new GrammarASTAdaptor(), ast));
            visitor.rule();
            return visitor.GetLabeledAlternatives();
        }