Function rslint_core::util::outer_function[][src]

pub fn outer_function(node: impl Borrow<SyntaxNode>) -> Option<SyntaxNode>
Expand description

Get the first enclosing function of a node, this does not consider if the node itself is a function.