struct Loc [src]

Fields

line: usize
column: usize
source_line: []const u8Does not include the trailing newline.

Members

Source

pub const Loc = struct { line: usize, column: usize, /// Does not include the trailing newline. source_line: []const u8, pub fn eql(a: Loc, b: Loc) bool { return a.line == b.line and a.column == b.column and std.mem.eql(u8, a.source_line, b.source_line); } }