class documentation

class AnalyzedCode(object):

View In Hierarchy

Undocumented

Class Method get Undocumented
Class Method ​_roll​_down​_to​_literal Undocumented
Method __init__ Undocumented
Method ​_bound​_parameter​_getter​_func​_closure Return a getter that will extend a list of bound parameters with new entries from the __closure__ collection of a particular lambda.
Method ​_bound​_parameter​_getter​_func​_globals Return a getter that will extend a list of bound parameters with new entries from the __globals__ collection of a particular lambda.
Method ​_cache​_key​_getter​_closure​_variable Return a getter that will extend a cache key with new entries from the __closure__ collection of a particular lambda.
Method ​_cache​_key​_getter​_track​_on Return a getter that will extend a cache key with new entries from the "track_on" parameter passed to a .LambdaElement.
Method ​_cache​_key​_getter​_tracked​_literal Return a getter that will extend a cache key with new entries from the __closure__ collection of a particular lambda.
Method ​_init​_closure Undocumented
Method ​_init​_globals Undocumented
Method ​_init​_track​_on Undocumented
Method ​_raise​_for​_uncacheable​_closure​_variable Undocumented
Method ​_setup​_additional​_closure​_trackers Undocumented
Class Variable __slots__ Undocumented
Class Variable ​_fns Undocumented
Instance Variable bindparam​_trackers Undocumented
Instance Variable build​_py​_wrappers Undocumented
Instance Variable closure​_trackers Undocumented
Instance Variable track​_bound​_values Undocumented
Instance Variable track​_closure​_variables Undocumented
@classmethod
def get(cls, fn, lambda_element, lambda_kw, **kw):

Undocumented

@classmethod
def _roll_down_to_literal(cls, element):

Undocumented

def __init__(self, fn, lambda_element, opts):

Undocumented

def _bound_parameter_getter_func_closure(self, name, closure_index):
Return a getter that will extend a list of bound parameters with new entries from the __closure__ collection of a particular lambda.
def _bound_parameter_getter_func_globals(self, name):
Return a getter that will extend a list of bound parameters with new entries from the __globals__ collection of a particular lambda.
def _cache_key_getter_closure_variable(self, fn, variable_name, idx, cell_contents, use_clause_element=False, use_inspect=False):
Return a getter that will extend a cache key with new entries from the __closure__ collection of a particular lambda.
def _cache_key_getter_track_on(self, idx, elem):
Return a getter that will extend a cache key with new entries from the "track_on" parameter passed to a .LambdaElement.
def _cache_key_getter_tracked_literal(self, fn, pytracker):

Return a getter that will extend a cache key with new entries from the __closure__ collection of a particular lambda.

this getter differs from _cache_key_getter_closure_variable in that these are detected after the function is run, and PyWrapper objects have recorded that a particular literal value is in fact not being interpreted as a bound parameter.

def _init_closure(self, fn):

Undocumented

def _init_globals(self, fn):

Undocumented

def _init_track_on(self, track_on):

Undocumented

def _raise_for_uncacheable_closure_variable(self, variable_name, fn, from_=None):

Undocumented

def _setup_additional_closure_trackers(self, fn, lambda_element, opts):

Undocumented

__slots__: tuple[str, ...] =

Undocumented

_fns =

Undocumented

bindparam_trackers: list =

Undocumented

build_py_wrappers: list =

Undocumented

closure_trackers: list =

Undocumented

track_bound_values =

Undocumented

track_closure_variables =

Undocumented