Skip to documentation
SLOP

tiny.chant.Lexer

Reference tiny.chant Lexer

Defined in tiny.chant.

API (6)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

Source: lib/chant/src/lexer/state.zig:1

zig
pub const Lexer = struct {    source: []const u8,    index: usize,    file: []const u8,    line: u32,    line_start: usize,    pub fn init(source: []const u8, file: []const u8) Lexer {        return .{            .source = source,            .index = 0,            .file = file,            .line = 1,            .line_start = 0,        };    }};

Source: lib/chant/src/root.zig:70

zig
pub const Lexer = lexer.Lexer;
Called byCallsNo direct callsTokenStoragefilllexersurveytest sourcelib.chant.src.lexer.streamtest: token survey and fill match dir...Lexerinit
Static calls · unresolved targets: 0 · external targets: 0.

Also reachable as

lexer.Lexer.

Audit

Definitions2
Public names4
Members5
Version26.7.0
Revisiondaab053ee433