Synopsis - Synopsis.Processors.Linker.Linker

module Synopsis.Processors.Linker
class Linker
File: ../Synopsis/Processors/Linker.py
Visitor that removes duplicate declarations
Class attributes Summary:
remove_empty_modules
sort_modules
sxr_prefix
visit_declaration
visit_forward
visit_enum
visit_operation
Methods Summary:
process(self, ir, * * kwds)
lookup(self, name)
append(self, declaration)
push(self, scope)
pop(self)
top(self)
top_dict(self)
link_type(self, type)
visit_builtin_type_id(self, type)
visit_unknown_type_id(self, type)
visit_declared_type_id(self, type)
visit_template_id(self, type)
visit_modifier_type_id(self, type)
visit_array_type_id(self, type)
visit_parametrized_type_id(self, type)
visit_function_type_id(self, type)
visit_source_file(self, file)
visit_module(self, module)
visit_group(self, group)
merge_comments(self, metamodule, module)
Append the module comments into the metamodule.
visit_meta_module(self, module)
add_declaration(self, decl)
Adds a declaration to the current (top) scope.
visit_builtin(self, builtin)
visit_named_type(self, decl)
visit_function(self, func)
visit_variable(self, var)
visit_typedef(self, tdef)
visit_class(self, class_)
visit_inheritance(self, parent)
visit_parameter(self, param)
visit_const(self, const)
Methods Details:
lookup(self, name)
look whether the current scope already contains a declaration with the given name
append(self, declaration)
append declaration to the current scope
push(self, scope)
push new scope on the stack
pop(self)
restore the previous scope
link_type(self, type)
Returns the same or new proxy type
visit_source_file(self, file)
Resolves any duplicates in the list of declarations from this file
merge_comments(self, metamodule, module)
Append the module comments into the metamodule.
add_declaration(self, decl)
Adds a declaration to the current (top) scope. If there is already a Forward declaration, then this replaces it unless this is also a Forward.
visit_builtin(self, builtin)
preserve builtins unconditionally
Generated on Thu Apr 16 16:26:58 2009 by
synopsis (version devel)