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

Method remove

src/completion/variable/forward_walk.rs:1882–1884  ·  view source on GitHub ↗

Remove a variable (e.g. after `unset($x)`).

(&mut self, var_name: &str)

Source from the content-addressed store, hash-verified

1880
1881 /// Remove a variable (e.g. after `unset($x)`).
1882 pub fn remove(&mut self, var_name: &str) {
1883 self.locals.remove(&atom(var_name));
1884 }
1885
1886 /// Merge another scope into `self`.
1887 ///

Callers 15

setup_laravelFunction · 0.80
did_closeMethod · 0.80
clear_file_mapsMethod · 0.80
parse_and_cache_fileMethod · 0.80
toposort_classesFunction · 0.80
unmark_resolvingFunction · 0.80
process_statementFunction · 0.80
chain_depthFunction · 0.80

Calls 1

atomFunction · 0.85

Tested by 1