Class JSClass

java.lang.Object
com.oracle.truffle.js.runtime.builtins.JSClass
Direct Known Subclasses:
AbstractJSClass, JSNonProxy

public abstract class JSClass extends Object
Basic interface for all JavaScript (ordinary and exotic) object types. A JSClass defines the internal and access methods of a JSObject and allows for overriding their behavior for different types of objects. It can be obtained from an object via Shape.getDynamicType(). The interface is inspired by ECMAScript internal methods. Parameter order: JSDynamicObject receiver[, the rest...].