parse_trans/doc/parse_trans_mod.md
2015-10-30 19:37:05 +01:00

2.5 KiB

Module parse_trans_mod

Data Types

compile_options()


compile_options() = [term()]

erlang_form()


erlang_form() = term()

Function Index

abstract_code/1
beam_file/1
compile_and_load_forms/1
compile_and_load_forms/2
compile_options/1
rename_module/2
transform_module/3

Function Details

abstract_code/1


abstract_code(BeamFile::binary()) -> erlang_form()

beam_file/1


beam_file(Module::module()) -> binary()

compile_and_load_forms/1


compile_and_load_forms(AbsCode::erlang_form()) -> ok

compile_and_load_forms/2


compile_and_load_forms(AbsCode::erlang_form(), Opts::compile_options()) -> ok

compile_options/1


compile_options(BeamFile::binary() | module()) -> compile_options()

rename_module/2


rename_module(T::erlang_form(), NewName::module()) -> erlang_form()

transform_module/3

transform_module(Mod, PT, Options) -> any()