has_rewrite

Function has_rewrite 

Source
pub fn has_rewrite<Q: QueryContext>(
    current_pattern: &Pattern<Q>,
    definitions: &StaticDefinitions<'_, Q>,
) -> bool
Expand description

Determine if a provided pattern has a rewrite anywhere inside of it

Note this does not yet walk inside predicates and function calls