erl_expand_records (stdlib v6.2.2.5)

View Source

This module expands records in a module.

See Also

Section The Abstract Format in ERTS User's Guide.

Summary

Functions

Expands all records in a module to use explicit tuple operations and adds explicit module names to calls to auto-imported BIFs and imported functions.

Functions

module(AbsForms, CompileOptions)

-spec module(AbsForms, CompileOptions) -> AbsForms2
                when
                    AbsForms :: [erl_parse:abstract_form()],
                    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 auto-imported BIFs and imported functions.

The code in the returned module has no references to records, imported functions, or auto-imported BIFs.