View Source erl_expand_records (stdlib v6.0)

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 BIFs and imported functions. The returned module has no references to records, attributes, or code.

Functions

Link to this function

module(AbsForms, CompileOptions)

View Source
-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 BIFs and imported functions. The returned module has no references to records, attributes, or code.