pub fn param_binds_self(param: &AIRNode) -> Option<bool>Expand description
If param is a method parameter that binds the receiver self, return
Some(is_mut) carrying its mutability; otherwise None.
The AIR keeps self as an ordinary leading Param whose pattern is a
BindPat { name: "self" }. Backends with native receivers (Rust &self /
&mut self, Go func (self *T), Python self) consume this param to emit
the receiver and must not also emit it as a normal positional parameter.