extern structstd.zig.Zoir.CompileError.Note[src]

Fields

msg: NullTerminatedString
token: Ast.TokenIndex
node_or_offset: u32

If token == invalid_token, this is an Ast.Node.Index. Otherwise, this is a byte offset into token.

Source Code

Source code
pub const Note = extern struct {
    msg: NullTerminatedString,
    token: Ast.TokenIndex,
    /// If `token == invalid_token`, this is an `Ast.Node.Index`.
    /// Otherwise, this is a byte offset into `token`.
    node_or_offset: u32,
}