Skip to main content

push_literal_probes

Function push_literal_probes 

Source
fn push_literal_probes(
    literal: &str,
    left_bounded: bool,
    right_bounded: bool,
    probes: &mut Vec<String>,
)
Expand description

Pushes the tokens of literal that stay whole tokens wherever literal occurs. A side is bounded when the character beyond it can’t extend the adjacent run.