Function is_valid_pattern_identifier

Source
pub fn is_valid_pattern_identifier(
    typ: TokenType,
    rules: ParsePatternRules,
) -> bool