rustpython_parser_core/
lib.rs

1#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/main/logo.png")]
2#![doc(html_root_url = "https://docs.rs/rustpython-parser-core/")]
3
4mod error;
5mod format;
6pub mod mode;
7#[cfg(feature = "location")]
8pub mod source_code;
9
10pub use error::BaseError;
11pub use format::ConversionFlag;
12pub use mode::Mode;
13
14#[cfg(feature = "location")]
15pub use rustpython_parser_vendored::source_location;
16pub use rustpython_parser_vendored::text_size;