MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / as_str

Method as_str

src/definition/member/mod.rs:74–80  ·  view source on GitHub ↗

Return the string key used by [`ClassInfo::member_name_offset`].

(&self)

Source from the content-addressed store, hash-verified

72impl 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

Callers 15

mainFunction · 0.80
parse_phpcs_messageFunction · 0.80
parse_mago_issueFunction · 0.80
deserializeMethod · 0.80
detect_drupal_web_rootFunction · 0.80
validate_rulesFunction · 0.80
runFunction · 0.80
evict_gti_for_fqnsMethod · 0.80
class_nameMethod · 0.80
base_nameMethod · 0.80

Calls

no outgoing calls