mirror of
https://github.com/nushell/nushell
synced 2025-01-07 18:59:04 +00:00
a16e485cce
* WIP for known externals * Now completions can work from scripts * Add support for definiing externs * finish cleaning up old proof-of-concept
21 lines
531 B
Rust
21 lines
531 B
Rust
mod errors;
|
|
mod flatten;
|
|
mod known_external;
|
|
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 known_external::KnownExternal;
|
|
pub use lex::{lex, Token, TokenContents};
|
|
pub use lite_parse::{lite_parse, LiteBlock};
|
|
|
|
pub use parser::{parse, parse_block, parse_external_call, trim_quotes, Import};
|
|
|
|
#[cfg(feature = "plugin")]
|
|
pub use parse_keywords::parse_register;
|