menu

ProgramLocation

import { ProgramLocation } from "destack:compute";

Source location for a compute program diagnostic.

language/library/src/compute/program.ds:84:96
1export struct ProgramLocation {2    offset: usize;3    line: uint32;4    column: uint32;5    length: usize;6}

Members

offset: usize

Zero-based byte offset.

line: uint32

One-based line number.

column: uint32

One-based column number.

length: usize

Byte length covered by the diagnostic.