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 JSFunctionObject |
createConstructorObject(JSRealm realm) |
JSDynamicObject |
createPrototype(JSRealm realm,
JSFunctionObject constructor) |
default void |
fillConstructor(JSRealm realm,
JSDynamicObject constructor) |
com.oracle.truffle.api.strings.TruffleString |
getClassName() |
com.oracle.truffle.api.strings.TruffleString getClassName()
JSDynamicObject createPrototype(JSRealm realm, JSFunctionObject constructor)
default JSFunctionObject createConstructorObject(JSRealm realm)
default void fillConstructor(JSRealm realm, JSDynamicObject constructor)