DOKK / manpages / debian 11 / erlang-manpages / erl_expand_records.3erl.en
erl_expand_records(3erl) Erlang Module Definition erl_expand_records(3erl)

erl_expand_records - Expands records in a module.

This module expands records in a module.


module(AbsForms, CompileOptions) -> AbsForms2


Types:

AbsForms = AbsForms2 = [erl_parse:abstract_form()]
CompileOptions = [compile:option()]

Expands all records in a module to use explicit tuple operations and adds explicit module names to calls to BIFs and imported functions. The returned module has no references to records, attributes, or code.

Section The Abstract Format in ERTS User's Guide.

stdlib 3.14 Ericsson AB