mirror of
https://github.com/nushell/nushell.git
synced 2025-05-13 22:44:27 +02:00
* Move lite_parse tests into a submodule * Have lite_parse return partial parses when error encountered. Although a parse fails, we can generally still return what was successfully parsed. This is useful, for example, when figuring out completions at some cursor position, because we can map the cursor to something more structured (e.g., cursor is at a flag name).
14 lines
334 B
Rust
14 lines
334 B
Rust
mod errors;
|
|
mod lite_parse;
|
|
mod parse;
|
|
mod path;
|
|
mod shapes;
|
|
mod signature;
|
|
|
|
pub use errors::{ParseError, ParseResult};
|
|
pub use lite_parse::{lite_parse, LiteBlock};
|
|
pub use parse::{classify_block, garbage, parse_full_column_path};
|
|
pub use path::expand_ndots;
|
|
pub use shapes::shapes;
|
|
pub use signature::{Signature, SignatureRegistry};
|