Skip to main content

elixir_is_method_macro

Function elixir_is_method_macro 

Source
pub fn elixir_is_method_macro(kw: &str) -> bool
Expand description

Method-defining macros (def, defp, defmacro, defmacrop). The set is duplicated across checker, getter, and several metric impls because each consults it from a different trait surface; centralising the literal here keeps future additions (e.g. defguard) consistent.