euv-cli 0.5.5

The official CLI tool for the euv UI framework, providing dev/release profiles with run/build modes, hot reload, and wasm-pack integration.
/// The euv macro name for `html!`.
pub(crate) const MACRO_NAME_HTML: &str = "html";

/// The euv macro name for `class!`.
pub(crate) const MACRO_NAME_CLASS: &str = "class";

/// The euv macro name for `css_vars!`.
pub(crate) const MACRO_NAME_CSS_VARS: &str = "css_vars";

/// The euv macro name for `watch!`.
pub(crate) const MACRO_NAME_WATCH: &str = "watch";

/// The euv macro names that should be formatted.
pub(crate) const EUV_MACRO_NAMES: &[&str] = &[
    MACRO_NAME_HTML,
    MACRO_NAME_CLASS,
    MACRO_NAME_CSS_VARS,
    MACRO_NAME_WATCH,
];

/// The Rust `if` keyword string.
pub(crate) const KEYWORD_IF: &str = "if";

/// The Rust `else` keyword string.
pub(crate) const KEYWORD_ELSE: &str = "else";

/// The Rust `match` keyword string.
pub(crate) const KEYWORD_MATCH: &str = "match";

/// The Rust `for` keyword string.
pub(crate) const KEYWORD_FOR: &str = "for";

/// The Rust `in` keyword string.
pub(crate) const KEYWORD_IN: &str = "in";

/// The Rust fat arrow operator string.
pub(crate) const ARROW_FAT: &str = "=>";

/// The directory name to skip when scanning for Rust source files (Rust build output).
pub(crate) const TARGET_DIR_NAME: &str = "target";

/// The directory name to skip when scanning for Rust source files (Node.js dependencies).
pub(crate) const NODE_MODULES_DIR_NAME: &str = "node_modules";

/// The Rust source file extension.
pub(crate) const RS_EXTENSION: &str = "rs";

/// The exclamation mark character used to identify macro invocations.
pub(crate) const CHAR_MACRO_BANG: char = '!';

/// The left brace character used to delimit code blocks and macro bodies.
pub(crate) const CHAR_BRACE_LEFT: char = '{';

/// The right brace character used to delimit code blocks and macro bodies.
pub(crate) const CHAR_BRACE_RIGHT: char = '}';

/// The double quote character used to delimit string literals.
pub(crate) const CHAR_DOUBLE_QUOTE: char = '"';

/// The single quote character used to delimit character and string literals.
pub(crate) const CHAR_SINGLE_QUOTE: char = '\'';

/// The forward slash character used in comment and path detection.
pub(crate) const CHAR_SLASH_FORWARD: char = '/';

/// The forward slash string used in path normalization.
pub(crate) const STR_SLASH_FORWARD: &str = "/";

/// The backslash character used as escape prefix in string literals.
pub(crate) const CHAR_SLASH_BACK: char = '\\';

/// The underscore character, part of Rust identifiers.
pub(crate) const CHAR_UNDERSCORE: char = '_';

/// The hash character, used in raw identifier prefix detection.
pub(crate) const CHAR_HASH: char = '#';

/// The newline character.
pub(crate) const CHAR_NEWLINE: char = '\n';

/// The carriage return character.
pub(crate) const CHAR_CARRIAGE_RETURN: char = '\r';

/// The tab character.
pub(crate) const CHAR_TAB: char = '\t';

/// The space character.
pub(crate) const CHAR_SPACE: char = ' ';

/// The asterisk character, used in block comment end detection.
pub(crate) const CHAR_ASTERISK: char = '*';

/// The colon character, used in attribute separator formatting.
pub(crate) const CHAR_COLON: char = ':';

/// The equals sign character, used in fat arrow detection.
pub(crate) const CHAR_EQUALS: char = '=';

/// The greater-than character, used in fat arrow detection.
pub(crate) const CHAR_GREATER_THAN: char = '>';

/// The block comment start delimiter.
pub(crate) const BLOCK_COMMENT_START: &str = "/*";

/// The raw identifier prefix string.
pub(crate) const RAW_IDENT_PREFIX: &str = "r#";

/// The letter `a`, used in keyword detection.
pub(crate) const CHAR_LETTER_A: char = 'a';

/// The letter `c`, used in keyword detection.
pub(crate) const CHAR_LETTER_C: char = 'c';

/// The letter `e`, used in keyword detection.
pub(crate) const CHAR_LETTER_E: char = 'e';

/// The letter `f`, used in keyword detection.
pub(crate) const CHAR_LETTER_F: char = 'f';

/// The letter `h`, used in keyword detection.
pub(crate) const CHAR_LETTER_H: char = 'h';

/// The letter `i`, used in keyword detection.
pub(crate) const CHAR_LETTER_I: char = 'i';

/// The letter `l`, used in keyword detection.
pub(crate) const CHAR_LETTER_L: char = 'l';

/// The letter `m`, used in keyword detection.
pub(crate) const CHAR_LETTER_M: char = 'm';

/// The letter `n`, used in keyword detection.
pub(crate) const CHAR_LETTER_N: char = 'n';

/// The letter `o`, used in keyword detection.
pub(crate) const CHAR_LETTER_O: char = 'o';

/// The letter `r`, used in keyword detection.
pub(crate) const CHAR_LETTER_R: char = 'r';

/// The letter `s`, used in keyword detection.
pub(crate) const CHAR_LETTER_S: char = 's';

/// The letter `t`, used in keyword detection.
pub(crate) const CHAR_LETTER_T: char = 't';