Skip to main content

is_sexp_pattern

Function is_sexp_pattern 

Source
pub fn is_sexp_pattern(pattern: &str) -> bool
Expand description

Detect if pattern is a tree-sitter S-expression (starts with () or an ast-grep pattern (anything else).