LiLaC API
1.0.0-beta.2-api
jvm
LiLaC API
/
opekope2.lilac.util
/
Tree
/
Formatter
Formatter
class
Formatter
(
source
)
Utility class to pretty-print a tree.
Members
Constructors
Formatter
Link copied to clipboard
constructor
(
)
Functions
format
Link copied to clipboard
open
fun
format
(
@
NotNull
node
:
@
NotNull
Tree.Node
)
:
String
Pretty-prints the given node.
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String