class documentation

Represents the parameters of a function call. Attributes: posargs: The positional arguments. A tuple of cfg.Variable. namedargs: The keyword arguments. A dictionary, mapping strings to cfg.Variable. starargs: The *args parameter, or None. starstarargs: The **kwargs parameter, or None.

Method delete_namedarg Undocumented
Method get_variables Undocumented
Method has_namedargs Undocumented
Method has_non_namedargs Undocumented
Method has_opaque_starargs_or_starstarargs Undocumented
Method is_empty Undocumented
Method replace Undocumented
Method replace_namedarg Undocumented
Method replace_posarg Undocumented
Method simplify Try to insert part of *args, **kwargs into posargs / namedargs.
Method starargs_as_tuple Undocumented
Method starstarargs_as_dict Return **args as a python dict.
Class Variable namedargs Undocumented
Class Variable posargs Undocumented
Class Variable starargs Undocumented
Class Variable starstarargs Undocumented
Method _expand_typed_star Convert *xs: Sequence[T] -> [T, T, ...].
Method _unpack_and_match_args Match args against a signature with unpacking.
def delete_namedarg(self, name): (source)

Undocumented

def get_variables(self): (source)

Undocumented

def has_namedargs(self): (source)

Undocumented

def has_non_namedargs(self): (source)

Undocumented

def has_opaque_starargs_or_starstarargs(self): (source)

Undocumented

def is_empty(self): (source)

Undocumented

def replace(self, **kwargs): (source)

Undocumented

def replace_namedarg(self, name, val): (source)

Undocumented

def replace_posarg(self, pos, val): (source)

Undocumented

def simplify(self, node, ctx, match_signature=None): (source)

Try to insert part of *args, **kwargs into posargs / namedargs.

def starargs_as_tuple(self, node, ctx): (source)

Undocumented

def starstarargs_as_dict(self): (source)

Return **args as a python dict.

Undocumented

Undocumented

Undocumented

Undocumented

def _expand_typed_star(self, node, star, count, ctx): (source)

Convert *xs: Sequence[T] -> [T, T, ...].

def _unpack_and_match_args(self, node, ctx, match_signature, starargs_tuple): (source)

Match args against a signature with unpacking.