tiny.chant.Lexer
Defined in tiny.chant.
API (6)
Actions
Public operations.
Fields and members
Public fields and members.
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;Also reachable as
Audit
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 5 |
| Version | 26.7.0 |
| Revision | daab053ee433 |