1#![doc = include_str!("../README.md")]
2mod deparse;
3mod exportable;
4mod flatten;
5mod known_external;
6mod lex;
7mod lite_parser;
8mod parse_keywords;
9mod parse_patterns;
10mod parse_shape_specs;
11mod parser;
12mod type_check;
13
14pub use deparse::escape_for_script_arg;
15pub use flatten::{
16 flatten_block, flatten_expression, flatten_pipeline, flatten_pipeline_element, FlatShape,
17};
18pub use known_external::KnownExternal;
19pub use lex::{lex, lex_n_tokens, lex_signature, LexState, Token, TokenContents};
20pub use lite_parser::{lite_parse, LiteBlock, LiteCommand};
21pub use nu_protocol::parser_path::*;
22pub use parse_keywords::*;
23
24pub use parser::{
25 is_math_expression_like, parse, parse_block, parse_expression, parse_external_call,
26 parse_unit_value, trim_quotes, trim_quotes_str, unescape_unquote_string, DURATION_UNIT_GROUPS,
27};