/dports/devel/py-mypy/mypy-0.910/mypyc/test/ |
H A D | test_tuplename.py | 5 RInstance, RUnion, 12 self.inst_a = RInstance(ClassIR('A', '__main__')) 13 self.inst_b = RInstance(ClassIR('B', '__main__'))
|
H A D | test_emitfunc.py | 15 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 D | subtype.py | 4 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 D | sametype.py | 4 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 D | rt_subtype.py | 17 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 D | env_class.py | 24 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 D | targets.py | 4 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 D | callable_class.py | 11 from mypyc.ir.rtypes import RInstance, object_rprimitive 70 callable_class_ir.attributes[ENV_ATTR_NAME] = RInstance(
|
H A D | mapper.py | 13 RType, RUnion, RTuple, RInstance, object_rprimitive, dict_rprimitive, tuple_rprimitive, 62 inst = RInstance(self.type_to_ir[typ.type])
|
H A D | ll_builder.py | 29 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 D | generator.py | 20 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 D | prepare.py | 24 from mypyc.ir.rtypes import RInstance, tuple_rprimitive, dict_rprimitive 238 ctor_sig = FuncSignature(init_sig.args[1:], RInstance(ir))
|
H A D | function.py | 25 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 D | builder.py | 38 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 D | rtypes.py | 83 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 D | ops.py | 21 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 D | class_ir.py | 8 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 D | FXPluginRoutingParamValue.h | 154 struct RInstance struct
|
/dports/devel/py-mypy/mypy-0.910/mypyc/codegen/ |
H A D | emit.py | 13 RType, RTuple, RInstance, RUnion, RPrimitive, 457 elif isinstance(typ, RInstance):
|
/dports/devel/py-mypy/mypy-0.910/mypyc/doc/ |
H A D | dev-intro.md | 185 `RInstance` type. Classes are compiled to C extension classes and
|