Expand description
Erlang source to call-graph reader for backhopper-xref.
Walks .erl source through a minimal tokenizer and produces
ModuleData records containing exports, imports, behaviours,
callbacks, and call sites (with span-precise locations).
Re-exports§
pub use application::ApplicationAssignment;pub use application::ProjectLayout;pub use errors::ReadError;pub use errors::ReadWarning;pub use model::CallSite;pub use model::ModuleData;pub use model::ReadOutput;pub use reader::SourceReader;pub use suite_matcher::AstSuiteMatcher;
Modules§
- application
- Application-membership resolution.
- errors
- macros
-definetable and macro-body expansion helpers.- model
ModuleData,CallSite, andReadOutputaggregate types.- reader
- The
SourceReaderorchestrator. - scanner
- Byte-level scanner for Erlang source.
- suite_
matcher - AST-precise
SuiteMatcher.
Structs§
Functions§
- parse_
define - Parses the body of a
-define(...)attribute. Accepts the raw(NAME, body)form and the innerNAME, bodyform thathandle_attribute-style callers pass after stripping the parens.