首页> 外文会议>Programming languages and systems >From Classes to Objects via Subtyping
【24h】

From Classes to Objects via Subtyping

机译:通过子类型从类到对象

获取原文
获取原文并翻译 | 示例

摘要

We extend the Abadi-Cardelli calculus of primitive objects with object extension. We enrich object types with a more precise, uniform, and flexible type structure. This enables to type object extension under both width and depth subtyping. Objects may also have extend-only or virtual contra-variant methods and read-only co-variant methods. The resulting subtyping relation is richer, and types of objects can be weaken progresively from a class level to a more traditional object level along the subtype relationship.
机译:我们通过对象扩展扩展了原始对象的Abadi-Cardelli计算。我们通过更精确,统一和灵活的类型结构来丰富对象类型。这样可以在宽度和深度子类型下键入对象扩展名。对象也可以具有仅扩展或虚拟反变量方法以及只读协变量方法。所得到的子类型关系更丰富,并且沿着子类型关系,对象的类型可以从类级别逐渐减弱到更传统的对象级别。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号