ParseTreeMatch.getLabels

@uml Return a mapping from label → [list of nodes].

<p>The map includes special entries corresponding to the names of rules and tokens referenced in tags in the original pattern. For additional information, see the description of {@link #getAll(String)}.</p>

@return A mapping from labels to parse tree nodes. If the parse tree pattern did not contain any rule or token tags, this map will be empty.

class ParseTreeMatch
ParseTree[][string]
getLabels
()

Meta