Expand description
Print (or serialize) IR to human and machine readable text.
This module implements a document based pretty-printer. A couple of 3rd party pretty printing crates were assessed but didn’t seem to work as well as this simple version, which is quite effective.
Structs§
Constants§
Functions§
- create_
module_ printer_ pass - function_
print - Print a function to stdout.
- module_
print - Print a module to stdout.
- module_
printer_ pass - Pass to print a module to stdout.
- to_
string - Pretty-print a whole
Context
to a string.