API Reference Catalyst v#1.0.0-beta.2

Copy Markdown View Source

Modules

Main entry point for Catalyst. Orchestrates the execution of plugins, actions, and validations.

Generic action for inserting arbitrary Elixir AST/source into a .ex or .exs file using Sourceror. Handles anything with a do...end block - def/defp (guarded or not, block or one-liner), and any other macro call that takes a do: body (schema, pipeline, scope, etc) - and also handles the body itself being a list literal (e.g. a supervisor's children = [...] or def children, do: [...]), splicing into the list's elements rather than appending next to it.

Entry point for Catalyst's global Mix archive commands.

Parses and validates plugin options using OptionParser-like semantics.

Resolves Catalyst plugin names from configured registries.

Declares a post-validation action.

Utilities to work with Elixir source code.

Utilities to merge an un-merge comments and quoted expressions.

High performance alternative to Sourceror.Zipper.

Functions to identify an classify forms and quoted expressions.

Functions that generate patches for common operations.

Represents a start/end position in a source file as :line and :column keyword lists.

The state struct for Sourceror traversal functions.

Tree-like data structure that provides enhanced navigation and modification of an Elixir AST.

Provides Sourceror.Zipper's implementation for the Inspect protocol.

A module to determine the width of a Unicode charactor (or codepoint) on monotyped screens.

A module for detecting combined Emoji graphemes.

Mix Tasks