Interface JSConstructorFactory
- All Known Subinterfaces:
JSConstructorFactory.Default,JSConstructorFactory.Default.WithSpecies,JSConstructorFactory.WithFunctions,JSConstructorFactory.WithFunctionsAndSpecies
- All Known Implementing Classes:
JavaImporter,JSAdapter,JSArray,JSArrayBuffer,JSArrayIterator,JSAsyncContextSnapshot,JSAsyncContextVariable,JSAsyncGenerator,JSAsyncIterator,JSBigInt,JSBoolean,JSCollator,JSDataView,JSDate,JSDateTimeFormat,JSDisplayNames,JSFinalizationRegistry,JSForInIterator,JSGenerator,JSIterator,JSListFormat,JSLocale,JSMap,JSMapIterator,JSNumber,JSNumberFormat,JSPluralRules,JSPromise,JSRegExp,JSRelativeTimeFormat,JSSegmenter,JSSet,JSSetIterator,JSShadowRealm,JSSharedArrayBuffer,JSString,JSStringIterator,JSSymbol,JSTemporalDuration,JSTemporalInstant,JSTemporalPlainDate,JSTemporalPlainDateTime,JSTemporalPlainMonthDay,JSTemporalPlainTime,JSTemporalPlainYearMonth,JSTemporalZonedDateTime,JSTextDecoder,JSTextEncoder,JSWeakMap,JSWeakRef,JSWeakSet,JSWebAssemblyGlobal,JSWebAssemblyInstance,JSWebAssemblyMemory,JSWebAssemblyModule,JSWebAssemblyTable,JSWorker,JSWrapForValidAsyncIterator,JSWrapForValidIterator
public interface JSConstructorFactory
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault JSFunctionObjectcreateConstructorObject(JSRealm realm) createPrototype(JSRealm realm, JSFunctionObject constructor) default voidfillConstructor(JSRealm realm, JSDynamicObject constructor) com.oracle.truffle.api.strings.TruffleString
-
Method Details
-
getClassName
com.oracle.truffle.api.strings.TruffleString getClassName() -
createPrototype
-
createConstructorObject
-
fillConstructor
-