pub fn process_interpolated_chars<F>(
input: &str,
ctx: &mut EvalContext,
segment_handler: F,
) -> Result<()>Expand description
Processes a string containing interpolated expressions using a character-based approach
This function evaluates expressions like $(`HTTP_HOST``) in text content and provides the processed segments to the caller through a callback function.
§Arguments
input- The input string containing potential interpolated expressionsctx- Evaluation context containing variables and statesegment_handler- A function that handles each segment (raw text or evaluated expression)
§Returns
Result<()>- Success or error during processing