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

Method is_in_static_method

src/symbol_map/mod.rs:789–791  ·  view source on GitHub ↗

Returns `true` when `offset` falls inside a `static` method body.

(&self, offset: u32)

Source from the content-addressed store, hash-verified

787
788 /// Returns `true` when `offset` falls inside a `static` method body.
789 pub fn is_in_static_method(&self, offset: u32) -> bool {
790 Self::offset_in_sorted_ranges(&self.static_method_scopes, offset)
791 }
792}
793
794#[cfg(test)]

Callers 3

hover_variableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected