Skip to main content

Module helpers

Module helpers 

Source

Functionsยง

clean_doc_comment
Strip comment markers (//, ///, /*, #, *) from doc captures.
is_noise_method_call
Language-agnostic check for whether a call expression name looks like a method call on a local variable/expression, which typically represents a standard library method chain (e.g. result.map(), vec.push(), self.method(), obj.clone()) rather than a user-defined function call.
node_span
node_text