FlattenParseTree(IParseTree)
Summary
public static IEnumerable<IParseTree> FlattenParseTree(IParseTree node)Parameters
Name
Description
Returns
Last updated
Was this helpful?
Method in Compiler
Flattens a tree of Antlr4.Runtime.Tree.IParseTree objects by recursively visiting their children, and converting them into a flat System.Collections.Generic.IEnumerable`1 .
public static IEnumerable<IParseTree> FlattenParseTree(IParseTree node)Antlr4.Runtime.Tree.IParseTree node
The root node to begin work from.
An System.Collections.Generic.IEnumerable`1 that contains a flattened version of the hierarchy rooted at node .
Last updated
Was this helpful?
Was this helpful?
