Skip to main content

naviz_parser/
lib.rs

1pub mod common;
2pub mod config;
3pub mod input;
4
5#[cfg(test)]
6pub mod test_utils;
7
8pub use common::position::byte_offset_to_line_column;
9
10/// Error returned when parsing/lexing.
11/// Contains Reference to the input.
12pub type ParseError<I> = winnow::error::ParseError<I, ParseErrorInner>;
13
14/// Inner error in [ParseError].
15pub type ParseErrorInner = winnow::error::ContextError;