mirror of
https://github.com/danbulant/nushell
synced 2026-06-13 11:41:49 +00:00
* Move tests into own file * Move data structs to own file * Move functions parsing 1 Token (primitives) into own file * Rename param_flag_list to signature * Add tests * Fix clippy lint * Change imports to new lexer structure
20 lines
503 B
Rust
20 lines
503 B
Rust
#[macro_use]
|
|
extern crate derive_is_enum_variant;
|
|
#[macro_use]
|
|
extern crate derive_new;
|
|
|
|
mod errors;
|
|
mod lex;
|
|
mod parse;
|
|
mod path;
|
|
mod scope;
|
|
mod shapes;
|
|
mod signature;
|
|
|
|
pub use lex::lexer::{block, lex};
|
|
pub use lex::tokens::{LiteBlock, LiteCommand, LiteGroup, LitePipeline};
|
|
pub use parse::{classify_block, garbage, parse, parse_full_column_path, parse_math_expression};
|
|
pub use path::expand_ndots;
|
|
pub use scope::ParserScope;
|
|
pub use shapes::shapes;
|
|
pub use signature::{Signature, SignatureRegistry};
|