Skip to documentation
SLOP

tiny.preserves.Capture

Reference tiny.preserves Capture

Defined in tiny.preserves.

A pointer to the inner pattern of a capture.

No direct callersNo direct callstiny.preservesCapture
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/preserves/src/any.zig:38

zig
/// A pointer to the inner pattern of a capture. Beside its data, `Value` holds four value kinds/// that describe a match, the pattern forms, and a capture is one of them. Code that reads a/// capture from the root functions names its inner pattern with this type. `toText` prints a/// capture as the record `<bind p>` over its inner pattern `p`.pub const Capture = *AnyValue;

Source: lib/preserves/src/root.zig:174

zig
pub const Capture = any.Capture;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433