class documentation

class AnalyzedFunction: (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Class Variable __slots__ Undocumented
Class Variable closure_bindparams Undocumented
Instance Variable analyzed_code Undocumented
Instance Variable bindparam_trackers Undocumented
Instance Variable closure_pywrappers Undocumented
Instance Variable expected_expr Undocumented
Instance Variable expr Undocumented
Instance Variable fn Undocumented
Instance Variable is_sequence Undocumented
Instance Variable propagate_attrs Undocumented
Instance Variable tracker_instrumented_fn Undocumented
Method _coerce_expression Run the tracker-generated expression through coercion rules.
Method _instrument_and_run_function Undocumented
Method _rewrite_code_obj Return a copy of f, with a new closure and new globals
def __init__(self, analyzed_code, lambda_element, apply_propagate_attrs, fn): (source)

Undocumented

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

Undocumented

closure_bindparams: Optional[List[BindParameter[Any]]] = (source)

Undocumented

analyzed_code = (source)

Undocumented

bindparam_trackers = (source)

Undocumented

closure_pywrappers: list = (source)

Undocumented

expected_expr = (source)

Undocumented

Undocumented

Undocumented

is_sequence: bool = (source)

Undocumented

propagate_attrs = (source)

Undocumented

tracker_instrumented_fn = (source)

Undocumented

def _coerce_expression(self, lambda_element, apply_propagate_attrs): (source)

Run the tracker-generated expression through coercion rules. After the user-defined lambda has been invoked to produce a statement for re-use, run it through coercion rules to both check that it's the correct type of object and also to coerce it to its useful form.

def _instrument_and_run_function(self, lambda_element): (source)

Undocumented

def _rewrite_code_obj(self, f, cell_values, globals_): (source)

Return a copy of f, with a new closure and new globals yes it works in pypy :P