Skip to documentation
SLOP

tiny.syn.scan

Reference tiny.syn scan

Defined in tiny.syn.

The namespace holds the calls that mark up text, one for a line on its own and one for a line inside a longer document.

API (3)

Actions

Public operations.

Namespaces

Public namespaces.

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

Source

Source: lib/syn/src/root.zig:40

zig
pub const scan = @import("scan/root.zig");

Source: lib/syn/src/scan/root.zig

zig
//! The namespace holds the calls that mark up text, one for a line on its own and one for a line//! inside a longer document. A caller with a single line, such as a one-line snippet, needs nothing//! carried between calls, and a caller walking a file line by line needs what each line leaves open//! to reach the next. `highlight` marks up a line on its own from a fresh start, and//! `highlightLine` also takes the record of what earlier lines left open and updates it. The//! routine for each family of languages stays private behind these two calls.pub const line = @import("line.zig");pub const highlight = line.highlight;pub const highlightLine = line.highlightLine;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433