rable 0.1.10

A Rust implementation of the Parable bash parser — complete GNU Bash 5.3-compatible parsing with Python bindings
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! ANSI-C quoting ($'...') escape sequence processing.
//!
//! Re-exported as `pub(super)` so `word.rs` can access it.

/// Process ANSI-C escape sequences inside `$'...'`.
/// `chars` is the character array, `pos` points to the first char of content.
/// Returns the processed content (without surrounding quotes).
/// Advances `pos` past the content.
#[allow(clippy::too_many_lines)]
pub(super) fn process_ansi_c_content(chars: &[char], pos: &mut usize) -> String {
    // Delegate to the implementation in mod.rs for now.
    // This will be moved fully here in a later step.
    super::process_ansi_c_content(chars, pos)
}