public interface JSConstructorFactory
| Modifier and Type | Interface and Description |
|---|---|
static interface |
JSConstructorFactory.Default |
static interface |
JSConstructorFactory.WithFunctions |
static interface |
JSConstructorFactory.WithFunctionsAndSpecies |
| Modifier and Type | Method and Description |
|---|---|
default com.oracle.truffle.api.object.DynamicObject |
createConstructorObject(JSRealm realm) |
com.oracle.truffle.api.object.DynamicObject |
createPrototype(JSRealm realm,
com.oracle.truffle.api.object.DynamicObject constructor) |
default void |
fillConstructor(JSRealm realm,
com.oracle.truffle.api.object.DynamicObject constructor) |
String |
getClassName() |
String getClassName()
com.oracle.truffle.api.object.DynamicObject createPrototype(JSRealm realm, com.oracle.truffle.api.object.DynamicObject constructor)
default com.oracle.truffle.api.object.DynamicObject createConstructorObject(JSRealm realm)
default void fillConstructor(JSRealm realm, com.oracle.truffle.api.object.DynamicObject constructor)