Return the string key used by [`ClassInfo::member_name_offset`].
(&self)
| 72 | impl MemberKind { |
| 73 | /// Return the string key used by [`ClassInfo::member_name_offset`]. |
| 74 | pub(crate) fn as_str(&self) -> &'static str { |
| 75 | match self { |
| 76 | MemberKind::Method => "method", |
| 77 | MemberKind::Property => "property", |
| 78 | MemberKind::Constant => "constant", |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | /// Hint about whether the member access looks like a method call or a property |
no outgoing calls