ides_static_beam (ides v0.4.1)

View Source

Summary

Functions

Return true if the module declares -behaviour(supervisor).

Load BEAM files and return metadata indexed by module name.

Types

abstr()

-type abstr() :: [term()].

beam_info()

-type beam_info() ::
          #{module := module(),
            attributes := [{atom(), [term()]}],
            exports := [{atom(), arity()}],
            abstract_code => abstr()}.

Functions

is_supervisor/1

-spec is_supervisor(beam_info()) -> boolean().

Return true if the module declares -behaviour(supervisor).

load_beams(Paths)

-spec load_beams([file:filename()]) -> {ok, #{atom() => beam_info()}}.

Load BEAM files and return metadata indexed by module name.