module documentation

Code driving the ASTNode.lookup() method.

See also filter_statements.py.

Function lookup Undocumented
Function _base_scope_lookup XXX method for interfacing the scope lookup
Function _class_lookup Undocumented
Function _function_lookup Undocumented
Function _module_lookup The names of module attributes available through the global scope.
Function _scope_lookup Undocumented
Variable _builtins_names Undocumented
def lookup(self, name, offset): (source)

Undocumented

Parameters
name:strUndocumented
offset:intUndocumented
Returns
Tuple[_typing.ASTNode, List[_typing.ASTNode]]Undocumented
def _base_scope_lookup(self, node, name, offset=0): (source)

XXX method for interfacing the scope lookup

Parameters
node:_typing.ASTNodeUndocumented
name:strUndocumented
offset:intUndocumented
Returns
Tuple[_typing.ASTNode, List[_typing.ASTNode]]Undocumented
def _class_lookup(self, node, name, offset=0): (source)

Undocumented

Parameters
node:_typing.ASTNodeUndocumented
name:strUndocumented
offset:intUndocumented
Returns
Tuple[_typing.ASTNode, List[_typing.ASTNode]]Undocumented
def _function_lookup(self, node, name, offset=0): (source)

Undocumented

Parameters
node:_typing.ASTNodeUndocumented
name:strUndocumented
offset:intUndocumented
Returns
Tuple[_typing.ASTNode, List[_typing.ASTNode]]Undocumented
def _module_lookup(self, node, name, offset=0): (source)

The names of module attributes available through the global scope.

Parameters
node:_typing.ASTNodeUndocumented
name:strUndocumented
offset:intUndocumented
Returns
Tuple[_typing.ASTNode, List[_typing.ASTNode]]Undocumented
def _scope_lookup(self, node, name, offset=0): (source)

Undocumented

Parameters
node:_typing.ASTNodeUndocumented
name:strUndocumented
offset:intUndocumented
Returns
Tuple[_typing.ASTNode, List[_typing.ASTNode]]Undocumented
_builtins_names = (source)

Undocumented