Home | Trees | Index | Help |
---|
Package analysis :: Module namespace :: Class NamespaceRegister |
|
Method Summary | |
---|---|
Initialise the register with the given 'locals', 'globals' and 'builtins' namespaces. | |
add_blocked_node(self,
node)
| |
get_qualified_name(self,
name)
| |
Find the name associated with the given 'node' in a namespace. | |
Remove the name associated with the given 'node' in the local namespace. | |
return_node(self,
node)
| |
Store the name associated with the given 'node' in the local namespace. |
Method Details |
---|
__init__(self,
locals,
globals,
builtins,
name_qualifier=None,
name_context=None,
module_name=None)
Initialise the register with the given 'locals', 'globals' and
'builtins' namespaces. The optional 'name_qualifier' is used to qualify
certain names. The optional 'name_context' is used to indicate the kind
of local scope encapsulated by this namespace. The optional
'module_name' is used to remember which module a name is defined
within.
|
load(self, node)Find the name associated with the given 'node' in a namespace. |
make_global(self, node)Remove the name associated with the given 'node' in the local namespace. This is used when establishing global usage. |
store(self, node)Store the name associated with the given 'node' in the local namespace. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 20 00:05:45 2005 | http://epydoc.sf.net |