首页>
外国专利>
TYPE-CONSTRAINED OPERATIONS FOR PLUG-IN TYPES
TYPE-CONSTRAINED OPERATIONS FOR PLUG-IN TYPES
展开▼
机译:插件类型的类型约束操作
展开▼
页面导航
摘要
著录项
相似文献
摘要
Techniques for performing type-constrained operations for plug-in types are disclosed. A runtime environment encounters a request to perform a type-constrained operation that requires evaluating a type constraint associated with a particular plug-in type. The runtime environment lacks sufficient native instructions to evaluate type constraints associated with plug-in types. The runtime environment accesses a plug-in type framework to obtain a particular type descriptor instance associated with the particular plug-in type. The plug-in type framework is designated, prior to encountering any request to perform the type-constrained operation, for obtaining type descriptor instances which define constraints on plug-in types, to an extent that any such constraints exist. The particular type descriptor instance defines a particular type constraint that does not match any single built-in type. The runtime environment performs the type-constrained operation, which comprises using the particular type descriptor instance to evaluate the particular type constraint associated with the particular plug-in type.
展开▼