public function removeTableItems($name, SymbolTable $table) { foreach ($table as $item => $dummy) { $this->{$name}->del($item); } }