Synopsis - Synopsis.Processors.ModuleFilter.ModuleFilter

module Synopsis.Processors.ModuleFilter
class ModuleFilter
File: ../Synopsis/Processors/ModuleFilter.py
A processor that filters modules.
Class attributes Summary:
modules
remove_empty
visit_builtin
visit_group
visit_scope
visit_enum
Methods Summary:
process(self, ir, * * kwds)
push(self)
pop(self, decl)
pop_only(self)
add(self, decl)
visit_declaration(self, decl)
visit_module(self, module)
Methods Details:
push(self)
Pushes the current scope onto the stack and starts a new one
pop(self, decl)
Pops the current scope from the stack, and appends the given declaration to it
pop_only(self)
Only pops, doesn't append to scope
add(self, decl)
Adds the given decl to the current scope
visit_declaration(self, decl)
Adds declaration to scope
visit_module(self, module)
Visits all children of the module, and if there are no declarations after that removes the module
Generated on Thu Apr 16 16:26:59 2009 by
synopsis (version devel)