Skip to content

Index

Pretty printing utilities.

This module provides a pretty printing utility for the IR nodes and other objects in the compiler.

The pretty printing utility is implemented using the visitor pattern. The Printable class is the base class for all objects that can be pretty printed.

The Printer class is the visitor that traverses the object and prints the object to a string. The Printer class provides methods for printing different types of objects.