erl_pp
erl_pp
Module
erl_pp
Module summary
The Erlang Pretty Printer
Description
The functions in this module are used to generate aesthetically attractive representations of abstract forms, which are suitable for printing. All functions return (possibly deep) lists of characters and generate an error if the form is wrong.
All functions can have an optional argument which specifies a hook that is called if an attempt is made to print an unknown form.
Data types
hook_function() =
none |
fun((Expr :: erl_parse:abstract_expr(),
CurrentIndentation :: integer(),
CurrentPrecedence :: integer() >= 0,
Options :: options()) ->
登录查看完整内容
none | fun((Expr :: erl_parse:abstract_expr(), CurrentIndentation :: integer(), CurrentPrecedence :: integer() >= 0, Options :: options()) -> 登录查看完整内容