Module xprof_erlang_syntax

Module to parse and format expressions in Erlang syntax.

Behaviours: xprof_language.

Description

Module to parse and format expressions in Erlang syntax

Function Index

fmt_exception/2
fmt_fun/1
fmt_fun_and_arity/2
fmt_mfa/3
fmt_mod/1
fmt_mod_and_delim/1
fmt_term/1
hidden_function/1
parse_query/1Parse a query string that represents either a module-function-arity or an xprof-flavoured match-spec fun in Erlang syntax.

Function Details

fmt_exception/2

fmt_exception(Class, Reason) -> any()

fmt_fun/1

fmt_fun(Fun) -> any()

fmt_fun_and_arity/2

fmt_fun_and_arity(Fun, Arity) -> any()

fmt_mfa/3

fmt_mfa(Mod, Fun, Arity) -> any()

fmt_mod/1

fmt_mod(Mod) -> any()

fmt_mod_and_delim/1

fmt_mod_and_delim(Mod) -> any()

fmt_term/1

fmt_term(Term) -> any()

hidden_function/1

hidden_function(Fun) -> any()

parse_query/1

parse_query(Str) -> any()

Parse a query string that represents either a module-function-arity or an xprof-flavoured match-spec fun in Erlang syntax. In the later case the last element of the tuple is the abstract syntax tree of the clauses of the anonimous function.


Generated by EDoc, Dec 12 2017, 10:42:28.