---
name: "erl_expand_records"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/erl_expand_records"
---

# erl\_expand\_records(3erl)

Expands records in a module.

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