Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

erl_expand_records (3erl)

Name

erl_expand_records - Expands records in a module.

Synopsis

Please see following description for synopsis

Description

erl_expand_records(3)      Erlang Module Definition      erl_expand_records(3)



NAME
       erl_expand_records - Expands records in a module.

DESCRIPTION
       This module expands records in a module.

EXPORTS
       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.

SEE ALSO
       Section The Abstract Format in ERTS User's Guide.



Ericsson AB                       stdlib 3.17            erl_expand_records(3)