Rust · 624 bytes Raw Blame History
1 // Rush expand - Variable and glob expansion engine
2
3 pub mod arithmetic;
4 pub mod brace;
5 pub mod brace_parse;
6 pub mod command_subst;
7 pub mod context;
8 pub mod expand;
9 pub mod glob;
10
11 pub use arithmetic::{evaluate_arithmetic, ArithmeticError};
12 pub use brace::expand_brace;
13 pub use brace_parse::detect_brace_patterns;
14 pub use command_subst::{execute_command_substitution, CommandSubstError};
15 pub use context::{CommandExecutorWrapper, Context, ShellOptions};
16 #[cfg(unix)]
17 pub use context::CoprocState;
18 pub use expand::{expand_word, expand_word_with_braces, expand_words, ExpansionError};
19 pub use glob::{expand_glob, GlobOptions};
20