Type Alias lang_util::error::ParseError

source ·
pub type ParseError<E> = Located<ParseErrorKind<E>>;
Expand description

A parsing error wrapped from lalrpop_util’s error type

Aliased Type§

struct ParseError<E> {
    inner: ParseErrorKind<E>,
    pos: TextRange,
    current_file: Option<FileId>,
    path: Option<PathBuf>,
    file_override: FileOverride,
    line_number: u32,
    column: u32,
}

Fields§

§inner: ParseErrorKind<E>

Inner error, without location information

§pos: TextRange

Position at which the error occurred

§current_file: Option<FileId>

File identifier for the error

§path: Option<PathBuf>

Path corresponding to the file identifier

§file_override: FileOverride

Overriden file location

§line_number: u32

Resolved line number

§column: u32

Resolved column number