Antlr4.Runtime.Tree.Trees.ToStringTree C# (CSharp) Method

ToStringTree() public static method

Print out a whole tree in LISP form.
Print out a whole tree in LISP form. GetNodeText(ITree, Antlr4.Runtime.Parser) is used on the node payloads to get the text for the nodes. Detect parse trees and extract data appropriately.
public static ToStringTree ( ITree t ) : string
t ITree
return string
        public static string ToStringTree(ITree t)
        {
            return ToStringTree(t, (IList<string>)null);
        }

Same methods

Trees::ToStringTree ( ITree t, IList ruleNames ) : string
Trees::ToStringTree ( ITree t, Parser recog ) : string