Package-level declarations
Types
Link copied to clipboard
Visitor for AST nodes that can mutate the nodes.
Link copied to clipboard
data class NodeSupplement(var extrasBefore: List<Node.Extra> = listOf(), var extrasWithin: List<Node.Extra> = listOf(), var extrasAfter: List<Node.Extra> = listOf(), var tag: Any? = null)
Supplemental data for a node.
Link copied to clipboard
Writer that converts AST nodes back to source code. When the withExtras is true, which is the default, it will preserve the original whitespaces, comments, semicolons and trailing commas. Even when the withExtras is false, it will still insert minimal whitespaces and semicolons automatically to avoid compilation errors or loss of meaning.