structstd.builtin.SourceLocation[src]

This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.

Fields

module: [:0]const u8

The name chosen when compiling. Not a file path.

file: [:0]const u8

Relative to the root directory of its module.

fn_name: [:0]const u8
line: u32
column: u32

Source Code

Source code
pub const SourceLocation = struct {
    /// The name chosen when compiling. Not a file path.
    module: [:0]const u8,
    /// Relative to the root directory of its module.
    file: [:0]const u8,
    fn_name: [:0]const u8,
    line: u32,
    column: u32,
}