ParseTree.getText

Return the combined text of all leaf nodes. Does not get any off-channel tokens (if any) so won't return whitespace and comments if they are sent to parser on hidden channel.

interface ParseTree
string
getText
()

Meta