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

GetLabeledAlternatives() public method

public GetLabeledAlternatives ( RuleAST ast ) : IDictionary>>
ast Antlr4.Tool.Ast.RuleAST
return 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();
        }