class documentation

Undocumented

Static Method get_actual_type Undocumented
Method __init__ Undocumented
Method __len__ Undocumented
Method get_actual_container return the true form of the container. E.g. Tuple class will return tuple[self.elts]
Method get_key_index Undocumented
Method postinit Undocumented
Instance Variable keys Undocumented
Instance Variable values Undocumented
Class Variable _fields Undocumented
Class Variable _other_fields Undocumented

Inherited from BaseContainer:

Method __str__ Undocumented

Inherited from BaseNode (via BaseContainer):

Static Method get_inferred Undocumented
Method __contains__ Undocumented
Method accept Undocumented
Method dunder_lookup try to resolve the dunder method
Method generic_visit Undocumented
Method get_bound_conditions Undocumented
Method get_children Undocumented
Method get_from_outer find the definition of `var` from outer scope recursively. Skip param will determine how many parent scope to skip :param var: variable of interest :param skip: how many layer of parent scope to skip :return:...
Method get_parent_of_type Undocumented
Method get_statements Undocumented
Method get_stmt_target Undocumented
Method get_target_instance get the assigning target instance rather than scope(). See #mr68u a.b.c = node calling node.get_target_instance() will return `a.b.c.instance()`
Method is_children check if the given node is part of 'self' or children
Method iter_fields Yield a tuple of ``(fieldname, value)`` for each field in ``node._fields`` that is present on *node*.
Method prepare_inferred_value Undocumented
Method scope return the first containing scope
Method statement Undocumented
Instance Variable col_offset Undocumented
Instance Variable explicit_inference Undocumented
Instance Variable lineno Undocumented
Instance Variable parent Undocumented
Instance Variable refer_to_block Undocumented

Inherited from Proxy (via BaseContainer, BaseNode, BaseInstance):

Method __getattr__ Undocumented
Method __repr__ Undocumented
Instance Variable obj Undocumented

Inherited from InvertCondMixin (via BaseContainer, BaseNode, BaseInstance, Proxy):

Method invert_condition Invert the condition of this node. wrap the node in `not()`
Method wrap_bool Undocumented
@staticmethod
def get_actual_type(): (source)

Undocumented

def __init__(self, lineno=None, col_offset=None, parent=None): (source)

Undocumented

def __len__(self): (source)

Undocumented

def get_actual_container(self): (source)

return the true form of the container. E.g. Tuple class will return tuple[self.elts]

def get_key_index(self, index, context): (source)

Undocumented

def postinit(self, keys, values): (source)

Undocumented

keys = (source)

Undocumented

values = (source)

Undocumented

_fields: tuple[str, ...] = (source)

Undocumented

_other_fields: tuple[str, ...] = (source)

Undocumented