API Reference ExAST v#0.12.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.

Precomputed metadata for an ExAST pattern.

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.

Describes overlapping replacement ranges in a rewrite plan.

Finds and replaces AST patterns in source code.

AST pattern matching with captures.

SQL-like query API for AST search.

Builds and applies replacement plans without immediately changing files.

A rewrite plan that can be inspected, encoded, or applied.

A planned source replacement.

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.