API Reference — syntax_tools v3.2

Search documentation of syntax_tools

# API Reference syntax_tools v3.2

## Modules

epp_dodger

`epp_dodger` - bypasses the Erlang preprocessor.

erl_comment_scan

Functions for reading comment lines from Erlang source code.

erl_prettypr

Pretty printing of abstract Erlang syntax trees.

erl_recomment

Inserting comments into abstract Erlang syntax trees

erl_syntax

Abstract Erlang syntax trees.

erl_syntax_lib

Support library for abstract Erlang syntax trees.

merl

Metaprogramming in Erlang. Merl is a more user friendly interface to the `erl_syntax` module, making it easy both to build new ASTs from scratch and to match and decompose existing ASTs. For details that are outside the scope of Merl itself, please see the documentation of `erl_syntax`.

merl_transform

Parse transform for merl. Enables the use of automatic metavariables and using quasi-quotes in matches and case switches. Also optimizes calls to functions in `merl` by partially evaluating them, turning strings to templates, etc., at compile-time.

prettypr

A generic pretty printer library. This module uses a strict-style context passing implementation of John Hughes algorithm, described in "The design of a Pretty-printing Library". The paragraph-style formatting, empty documents, floating documents, and null strings are my own additions to the algorithm.

Next Page → Syntax_Tools Release Notes