Re-exports§
pub use builder::execute;
pub use builder::gen_build_run;
pub use builder::process_expr;
pub use cmd_args::get_args;
pub use cmd_args::get_proc_flags;
pub use cmd_args::validate_args;
pub use cmd_args::Cli;
pub use cmd_args::ProcFlags;
pub use code_utils::create_temp_source_file;
pub use code_utils::disentangle;
pub use code_utils::extract_ast_expr;
pub use code_utils::extract_manifest;
pub use code_utils::modified_since_compiled;
pub use colors::coloring;
pub use colors::Ansi16DarkStyle;
pub use colors::Ansi16LightStyle;
pub use colors::ColorSupport;
pub use colors::Lvl;
pub use colors::MessageLevel;
pub use colors::TermTheme;
pub use colors::Xterm256DarkStyle;
pub use colors::Xterm256LightStyle;
pub use config::load;
pub use config::maybe_config;
pub use config::Colors;
pub use config::Config;
pub use config::Context;
pub use config::Dependencies;
pub use config::FeatureOverride;
pub use config::Logging;
pub use config::Misc;
pub use config::ProcMacros;
pub use errors::ThagError;
pub use errors::ThagResult;
pub use keys::KeyCombination;
pub use logging::get_verbosity;
pub use logging::Verbosity;
pub use logging::V;
pub use shared::debug_timings;
pub use shared::display_timings;
pub use shared::escape_path_for_windows;
pub use shared::Ast;
pub use shared::BuildState;
pub use shared::CrosstermEventReader;
pub use shared::EventReader;
pub use shared::KeyDisplayLine;
pub use shared::MockEventReader;
pub use shared::ScriptState;
pub use termbg;
pub use log;
Modules§
- __
private - builder
- cmd_
args - code_
utils - colors
- config
- errors
- file_
dialog - keys
- logging
- manifest
- repl
- shared
- stdin
- tui_
editor
Macros§
- cprtln
- A line print macro that prints a styled and coloured message.
- cvprtln
- A line print macro that conditionally prints a message using
cprtln
if the current global verbosity is at least as verbose as theVerbosity
(aliasV
) level passed in. - debug_
log - Control debug logging
- generate_
styles - A macro to generate mappings from the supported message levels to the initialised terminal theme and colour support level.
- key
- A macro that calls the private
key
proc macro to create aKeyCombination
from an idiomatic shorthand. Directly borrowed from thecrokey
crate. - key_
mappings - lazy_
static_ var - regex
- repeat_
dash - vlog
Constants§
- BUILT_
IN_ CRATES - DYNAMIC_
SUBDIR - FLOWER_
BOX_ LEN - PACKAGE_
NAME - REPL_
SCRIPT_ NAME - REPL_
SUBDIR - RS_
SUFFIX - TEMP_
DIR_ NAME - TEMP_
SCRIPT_ NAME - TOML_
NAME - VERSION