comparison graal/com.oracle.truffle.api.object/src/com/oracle/truffle/api/object/Property.java @ 21052:de8880bbf2e1

Truffle: simplify getProperty; minor cleanup
author Andreas Woess <andreas.woess@oracle.com>
date Mon, 20 Apr 2015 14:22:01 +0200
parents f439fdb137a3
children
comparison
equal deleted inserted replaced
21051:50fe6a0c6f1d 21052:de8880bbf2e1
23 * questions. 23 * questions.
24 */ 24 */
25 package com.oracle.truffle.api.object; 25 package com.oracle.truffle.api.object;
26 26
27 /** 27 /**
28 * Property objects represent the mapping between low-level stores and high-level data. The simplest 28 * Property objects represent the mapping between property identifiers (keys) and storage locations.
29 * Property could be nothing more than a map of one index to one property's value, but abstracting 29 * Optionally, properties may have metadata attached to them.
30 * the interface allows for getter/setter methods, type-checked properties, and other such
31 * specialized and language-specific behavior. ECMAScript[8.6.1]
32 */ 30 */
33 public abstract class Property { 31 public abstract class Property {
34 protected Property() { 32 protected Property() {
35 } 33 }
36 34