fn all(s: *Scratch) Slice
Returns the slice containing all data added to this Scratch.
Scratch
s: *Scratch
3932 3933 3934 3935
fn all(s: *Scratch) Slice { const len = s.astgen.scratch.items.len - s.scratch_top; return .{ .start = s.scratch_top, .len = @intCast(len) }; }
Returns the slice containing all data added to this
Scratch.