erl_prettypr

erl_prettypr

Module

erl_prettypr

Module summary

Pretty printing of abstract Erlang syntax trees.

Description

Pretty printing of abstract Erlang syntax trees.

This module is a front end to the pretty-printing library module prettypr, for text formatting of abstract syntax trees defined by the module erl_syntax.

Data types

context()

A representation of the current context of the pretty-printer. Can be accessed in hook functions.

hook() = (syntaxTree(), context(), Continuation) -> prettypr:document()