def clear_optimizer(self):
self._optimized = False<EOL>self._type2decls = {}<EOL>self._type2name2decls = {}<EOL>self._type2decls_nr = {}<EOL>self._type2name2decls_nr = {}<EOL>self._all_decls = None<EOL>self._all_decls_not_recursive = None<EOL>for decl in self.declarations:<EOL><INDENT>if isinstance(decl, scopedef_t):<EOL><INDENT>decl.clear_optimizer()<EOL><DEDENT><DEDENT>
Cleans query optimizer state