blob: 77195a6db6c387fdc53cbbb7b89662e99c9f9bd8 [file] [log] [blame] [view] [edit]
For emitting fixes or formatting diagnostics `Tree.toString` should almost
always be avoided, since it pretty-prints the AST node and loses information
about whitespace, comments, and some constructs that are desugared early.
`VisitorState#getSourceForNode` is often a better choice.