首页> 外国专利> Using map objects to access object properties in a dynamic object-oriented programming language

Using map objects to access object properties in a dynamic object-oriented programming language

机译:使用地图对象以动态的面向对象编程语言访问对象属性

摘要

One embodiment of the present invention provides a system that uses map objects to access object properties for a program written in a dynamic object-oriented programming language, thereby facilitating property access for languages that allow additional properties to be defined for objects at runtime. During operation, the system receives an object of an object type. This object is associated with a memory region and a given map object (from a set of map objects associated with the given object type) that describes how properties of the object are mapped to fields in the memory region. When receiving a request to access a property of the object, the system determines whether the given map object includes a field mapping for the property. If so, the system accesses a field in the memory region associated with the property using the field mapping.
机译:本发明的一个实施例提供了一种系统,该系统使用映射对象来访问以动态面向对象的编程语言编写的程序的对象属性,从而促进对允许在运行时为对象定义附加属性的语言的属性访问。在运行期间,系统会接收对象类型的对象。该对象与存储区域和给定的地图对象(来自与给定对象类型相关联的一组地图对象)相关联,该对象描述了如何将对象的属性映射到存储区域中的字段。当接收到访问该对象的属性的请求时,系统确定给定的地图对象是否包括该属性的字段映射。如果是这样,则系统使用字段映射访问与属性关联的存储区域中的字段。

著录项

  • 公开/公告号US8244775B1

    专利类型

  • 公开/公告日2012-08-14

    原文格式PDF

  • 申请/专利权人 LARS BAK;KASPER VERDICH LUND;

    申请/专利号US20080120067

  • 发明设计人 LARS BAK;KASPER VERDICH LUND;

    申请日2008-05-13

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-21 17:30:27

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号