Source-level facts for macro and DSL declarations.
Summary
Functions
Collects source-level macro/DSL declaration facts from quoted Elixir AST.
Reads and collects macro/DSL facts from a source file.
Collects macro/DSL facts from all source files in a project.
Parses and collects macro/DSL facts from an Elixir source string.
Types
@type location() :: %{ optional(:file) => String.t(), optional(:line) => non_neg_integer(), optional(:column) => non_neg_integer() | nil }
@type t() :: %Reach.MacroFact{ arity: non_neg_integer() | nil, call_module: module() | nil, confidence: atom() | nil, data: map(), framework: atom() | nil, generated?: boolean(), kind: atom(), name: atom() | nil, nesting: [atom()], owner_module: module() | nil, source: location() | nil, target: term() }
Functions
Collects source-level macro/DSL declaration facts from quoted Elixir AST.
Reads and collects macro/DSL facts from a source file.
Collects macro/DSL facts from all source files in a project.
Parses and collects macro/DSL facts from an Elixir source string.