Skip to content

Commit d14f3c9

Browse files
committed
[AST] NFC: Refactor format-specific printing into a "writer".
This makes the low-level `print*` methods in `PrintBase` simply forward to the writer, which does the actual work. Right now, there's only the abstract base class for the writer and the default (S-expression-like) writer. A later commit will introduce the JSON writer. Also update the `printField*` methods to take `Label`s instead of `StringRef`s.
1 parent 80f713b commit d14f3c9

File tree

1 file changed

+561
-375
lines changed

1 file changed

+561
-375
lines changed

0 commit comments

Comments
 (0)