forked from extern/nushell
* Add -c flag and others to cmdline args * finish a little bit of cleanup * Oops, forgot file
20 lines
474 B
Rust
20 lines
474 B
Rust
mod errors;
|
|
mod flatten;
|
|
mod lex;
|
|
mod lite_parse;
|
|
mod parse_keywords;
|
|
mod parser;
|
|
mod type_check;
|
|
|
|
pub use errors::ParseError;
|
|
pub use flatten::{
|
|
flatten_block, flatten_expression, flatten_pipeline, flatten_statement, FlatShape,
|
|
};
|
|
pub use lex::{lex, Token, TokenContents};
|
|
pub use lite_parse::{lite_parse, LiteBlock};
|
|
|
|
pub use parser::{find_captures_in_expr, parse, parse_block, trim_quotes, Import};
|
|
|
|
#[cfg(feature = "plugin")]
|
|
pub use parse_keywords::parse_register;
|