Crate erl_ast [] [src]

A Rust representation of Abstract Syntax Trees of Erlang modules.

Currently the library provide only a functionality that loading ASTs from beam files which have debug infos.

See also: The Abstract Format

Examples

use erl_ast::AST;

let ast = AST::from_beam_file("src/testdata/test.beam").unwrap();
println!("{:?}", ast);

Modules

ast
error
format
result

Structs

AST

Abstract Syntax Tree