Skip to main content

ErrorLocation

Type Alias ErrorLocation 

Source
pub type ErrorLocation = StreamPosition;
Expand description

Backward-compatible name for stream position information.

Aliased Type§

pub struct ErrorLocation {
    pub line: usize,
    pub column: usize,
    pub offset: usize,
    pub buffered: usize,
}

Fields§

§line: usize

One-based line number.

§column: usize

One-based character column.

§offset: usize

Absolute byte offset from the start of the stream.

§buffered: usize

Bytes held for the one unresolved top-level record.