TreeUtils

Properties

Link copied to clipboard
val Eol: String?

Platform dependent end-of-line marker

Link copied to clipboard
const val Indents: String

The literal indent char(s) used for pretty-printing

Functions

Link copied to clipboard
fun toPrettyTree(t: Tree, ruleNames: List<String>): String

Pretty print out a whole tree. .getNodeText is used on the node payloads to get the text for the nodes. (Derived from Trees.toStringTree(....))