Skip to main content

source_token_kinds_equivalent

Function source_token_kinds_equivalent 

Source
pub fn source_token_kinds_equivalent(
    path: &Path,
    current: &str,
    base: &str,
    cross_language: bool,
) -> bool
Expand description

Compare two JS/TS sources by duplicate-token kind sequence.

This keeps CLI audit’s non-behavioral change check from depending on the tokenizer module shape.