Home
last modified time | relevance | path

Searched refs:RInstance (Results 1 – 20 of 20) sorted by relevance

/dports/devel/py-mypy/mypy-0.910/mypyc/test/
H A Dtest_tuplename.py5 RInstance, RUnion,
12 self.inst_a = RInstance(ClassIR('A', '__main__'))
13 self.inst_b = RInstance(ClassIR('B', '__main__'))
H A Dtest_emitfunc.py15 RTuple, RInstance, RType, RArray, int_rprimitive, bool_rprimitive, list_rprimitive,
70 self.r = add_local('r', RInstance(ir))
/dports/devel/py-mypy/mypy-0.910/mypyc/
H A Dsubtype.py4 RType, RInstance, RPrimitive, RTuple, RVoid, RTypeVisitor, RUnion, RStruct, RArray,
36 def visit_rinstance(self, left: RInstance) -> bool: argument
37 return isinstance(self.right, RInstance) and self.right.class_ir in left.class_ir.mro
H A Dsametype.py4 RType, RTypeVisitor, RInstance, RPrimitive, RTuple, RVoid, RUnion, RStruct, RArray
31 def visit_rinstance(self, left: RInstance) -> bool: argument
32 return isinstance(self.right, RInstance) and left.name == self.right.name
H A Drt_subtype.py17 RType, RUnion, RInstance, RPrimitive, RTuple, RVoid, RTypeVisitor, RStruct, RArray,
37 def visit_rinstance(self, left: RInstance) -> bool: argument
/dports/devel/py-mypy/mypy-0.910/mypyc/irbuild/
H A Denv_class.py24 from mypyc.ir.rtypes import RInstance, object_rprimitive
48 env_class.attributes[SELF_NAME] = RInstance(env_class)
52 env_class.attributes[ENV_ATTR_NAME] = RInstance(builder.fn_infos[-2].env_class)
125 assert isinstance(env.type, RInstance), '{} must be of type RInstance'.format(env)
H A Dtargets.py4 from mypyc.ir.rtypes import RType, RInstance, object_rprimitive
41 if isinstance(obj.type, RInstance) and obj.type.class_ir.has_attr(attr):
H A Dcallable_class.py11 from mypyc.ir.rtypes import RInstance, object_rprimitive
70 callable_class_ir.attributes[ENV_ATTR_NAME] = RInstance(
H A Dmapper.py13 RType, RUnion, RTuple, RInstance, object_rprimitive, dict_rprimitive, tuple_rprimitive,
62 inst = RInstance(self.type_to_ir[typ.type])
H A Dll_builder.py29 RType, RUnion, RInstance, RArray, optional_value_type, int_rprimitive, float_rprimitive,
182 if (isinstance(obj.type, RInstance) and obj.type.class_ir.is_ext_class
492 if (isinstance(base.type, RInstance) and base.type.class_ir.is_ext_class
649 if isinstance(rtype, RInstance) and op in ('in', 'not in'):
992 elif (isinstance(value.type, RInstance) and value.type.class_ir.is_ext_class
1003 if isinstance(value_type, RInstance):
1144 elif isinstance(typ, RInstance):
1213 if isinstance(item, RInstance):
1277 if not (isinstance(ltype, RInstance) and ltype == rtype):
H A Dgenerator.py20 from mypyc.ir.rtypes import RInstance, int_rprimitive, object_rprimitive
66 generator_class_ir.attributes[ENV_ATTR_NAME] = RInstance(builder.fn_info.env_class)
H A Dprepare.py24 from mypyc.ir.rtypes import RInstance, tuple_rprimitive, dict_rprimitive
238 ctor_sig = FuncSignature(init_sig.args[1:], RInstance(ir))
H A Dfunction.py25 from mypyc.ir.rtypes import object_rprimitive, RInstance, object_pointer_rprimitive
662 rt_args[0] = RuntimeArg(sig.args[0].name, RInstance(cls))
707 rt_arg = RuntimeArg(SELF_NAME, RInstance(cls))
H A Dbuilder.py38 RType, RTuple, RInstance, int_rprimitive, dict_rprimitive,
490 if isinstance(target.obj.type, RInstance) and target.obj.type.class_ir.is_ext_class:
507 if isinstance(target.obj_type, RInstance):
984 self_type = RInstance(class_ir)
1041 return self.add_local_reg(Var(SELF_NAME), RInstance(cls), is_arg=True)
/dports/devel/py-mypy/mypy-0.910/mypyc/ir/
H A Drtypes.py83 return RInstance(ctx.classes[data])
518 elif isinstance(typ, RInstance):
545 elif isinstance(typ, RInstance):
627 class RInstance(RType): class
674 return isinstance(other, RInstance) and other.name == self.name
H A Dops.py21 RType, RInstance, RTuple, RArray, RVoid, is_bool_rprimitive, is_int_rprimitive,
489 assert isinstance(obj.type, RInstance), "Methods can only be called on instances"
573 assert isinstance(obj.type, RInstance), 'Attribute access not supported: %s' % obj.type
597 assert isinstance(obj.type, RInstance), 'Attribute access not supported: %s' % obj.type
H A Dclass_ir.py8 from mypyc.ir.rtypes import RType, RInstance, deserialize_type
110 self.ctor = FuncDecl(name, None, module_name, FuncSignature([], RInstance(self)))
/dports/audio/rezound/rezound-0.13.1beta/src/frontend_fox/
H A DFXPluginRoutingParamValue.h154 struct RInstance struct
/dports/devel/py-mypy/mypy-0.910/mypyc/codegen/
H A Demit.py13 RType, RTuple, RInstance, RUnion, RPrimitive,
457 elif isinstance(typ, RInstance):
/dports/devel/py-mypy/mypy-0.910/mypyc/doc/
H A Ddev-intro.md185 `RInstance` type. Classes are compiled to C extension classes and