API Reference pentiment v#0.2.0

View Source

Modules

Beautiful, informative compiler-style error messages for Elixir.

Protocol for types that can be rendered as diagnostics.

Helpers for extracting spans from Elixir AST metadata.

Single-line diagnostic formatter.

Rich diagnostic formatter with source context and highlighting.

Behaviour for source-context syntax highlighters.

Makeup-backed syntax highlighter.

A labeled span for annotating source code in diagnostics.

A ready-to-use diagnostic struct with a builder API.

Represents a source of text that diagnostics can reference.

Span types for representing regions in source code.

A span defined by byte offset and length.

A span defined by line and column positions.

A deferred span that searches for a pattern at format time.

Protocol for converting values to spans.