MCPcopy Index your code
hub / github.com/python/mypy / gen_method_call

Method gen_method_call

mypyc/irbuild/builder.py:421–433  ·  view source on GitHub ↗
(
        self,
        base: Value,
        name: str,
        arg_values: list[Value],
        result_type: RType | None,
        line: int,
        arg_kinds: list[ArgKind] | None = None,
        arg_names: list[str | None] | None = None,
    )

Source from the content-addressed store, hash-verified

419 return self.builder.load_native_type_object(fullname)
420
421 def gen_method_call(
422 self,
423 base: Value,
424 name: str,
425 arg_values: list[Value],
426 result_type: RType | None,
427 line: int,
428 arg_kinds: list[ArgKind] | None = None,
429 arg_names: list[str | None] | None = None,
430 ) -> Value:
431 return self.builder.gen_method_call(
432 base, name, arg_values, result_type, line, arg_kinds, arg_names, self.can_borrow
433 )
434
435 def load_module(self, name: str) -> Value:
436 return self.builder.load_module(name)

Callers 15

readMethod · 0.95
assignMethod · 0.95
unsafe_indexFunction · 0.45
generate_getattr_wrapperFunction · 0.45
generate_setattr_wrapperFunction · 0.45
visit_mapping_patternMethod · 0.45
maybe_natively_call_exitFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected