API Reference ExAST v#0.11.0

Copy Markdown View Source

Modules

Search, replace, and diff Elixir code by AST pattern.

A source comment with line/column metadata.

Extracts comments from Elixir source while preserving source positions.

Syntax-aware diffing for Elixir source code.

A single syntax-aware edit between two Elixir sources.

Applies diff edits to produce patched source code.

The result of comparing two Elixir sources.

Candidate-index metadata for ExAST patterns and selectors.

Indexable summary of an ExAST pattern or selector.

Conservative structural terms extracted from Elixir AST and ExAST patterns.

Finds and replaces AST patterns in source code.

AST pattern matching with captures.

SQL-like query API for AST search.

CSS-like AST selector builder.

Comment text matcher used by comment predicates.

Provides the ~p sigil for compile-time pattern parsing.

A module, function, macro, callback, or attribute definition found in Elixir code.

A local or remote reference found in Elixir code.

Extracts lightweight definition and reference facts from Elixir source or AST.

Mix Tasks

Computes a syntax-aware diff between two Elixir files.

Replaces AST pattern matches in Elixir source files.

Searches for AST patterns in Elixir source files.