Check whether `attr_short_name` resolves to `PhpStormStubsElementAvailable`.
(&self, attr_short_name: &str)
| 91 | |
| 92 | /// Check whether `attr_short_name` resolves to `PhpStormStubsElementAvailable`. |
| 93 | pub(crate) fn is_element_available_attr(&self, attr_short_name: &str) -> bool { |
| 94 | let canonical = self |
| 95 | .resolve_attr_last_segment(attr_short_name) |
| 96 | .unwrap_or(attr_short_name); |
| 97 | canonical == ATTR_ELEMENT_AVAILABLE |
| 98 | } |
| 99 | |
| 100 | /// Check whether `attr_short_name` resolves to `LanguageLevelTypeAware`. |
| 101 | fn is_language_level_type_aware_attr(&self, attr_short_name: &str) -> bool { |
no test coverage detected