erl_expand_records — stdlib v6.2

Search documentation of stdlib

# View Source erl_expand_records (stdlib v6.2)

This module expands records in a module.

## See Also

Section The Abstract Format in ERTS User's Guide.

# Summary

## Functions

module(AbsForms, CompileOptions)

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.