public final class JSPluralRules extends JSNonProxy implements JSConstructorFactory.WithFunctions, PrototypeSupplier
usesOrdinaryGetOwnProperty| Modifier and Type | Class and Description |
|---|---|
static class |
JSPluralRules.InternalState |
JSConstructorFactory.Default, JSConstructorFactory.WithFunctions, JSConstructorFactory.WithFunctionsAndSpecies| Modifier and Type | Field and Description |
|---|---|
static com.oracle.truffle.api.strings.TruffleString |
CLASS_NAME |
static JSPluralRules |
INSTANCE |
static com.oracle.truffle.api.strings.TruffleString |
PROTOTYPE_NAME |
static com.oracle.truffle.api.strings.TruffleString |
TO_STRING_TAG |
GET_SYMBOL_SPECIES_NAME| Modifier and Type | Method and Description |
|---|---|
static JSPluralRulesObject |
create(JSContext context,
JSRealm realm) |
static JSConstructor |
createConstructor(JSRealm realm) |
JSDynamicObject |
createPrototype(JSRealm realm,
JSFunctionObject ctor) |
com.oracle.truffle.api.strings.TruffleString |
getClassName() |
com.oracle.truffle.api.strings.TruffleString |
getClassName(JSDynamicObject object)
The [[Class]] internal property.
|
static JSPluralRules.InternalState |
getInternalState(JSDynamicObject obj) |
JSDynamicObject |
getIntrinsicDefaultProto(JSRealm realm)
Allows invokevirtual of this method instead of invokeinterface.
|
static com.ibm.icu.number.LocalizedNumberFormatter |
getNumberFormatter(JSDynamicObject obj) |
static com.ibm.icu.text.PluralRules |
getPluralRulesProperty(JSDynamicObject obj) |
static boolean |
isJSPluralRules(Object obj) |
com.oracle.truffle.api.object.Shape |
makeInitialShape(JSContext ctx,
JSDynamicObject prototype) |
static JSDynamicObject |
resolvedOptions(JSContext context,
JSRealm realm,
JSDynamicObject pluralRulesObj) |
static com.oracle.truffle.api.strings.TruffleString |
select(JSDynamicObject pluralRulesObj,
Object n) |
static com.oracle.truffle.api.strings.TruffleString |
selectRange(JSDynamicObject pluralRulesObj,
double x,
double y) |
checkProtoCycle, createSymbolSpeciesGetterFunction, defineOwnProperty, delete, delete, deletePropertyDefault, getBuiltinToStringTag, getHelper, getHelper, getMethodHelper, getOwnHelper, getOwnHelper, getOwnProperty, getOwnPropertyKeys, getPrototypeOf, hasOnlyShapeProperties, hasOwnProperty, hasOwnProperty, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeysSlow, ordinarySet, ordinarySetIndex, ordinarySetWithReceiver, performOrdinarySetWithOwnDescriptor, preventExtensions, preventExtensionsImpl, putConstructorSpeciesGetter, set, set, setIntegrityLevel, setIntegrityLevelFast, setPropertySlow, setPrototypeOf, testIntegrityLevel, testIntegrityLevelFast, toDisplayStringImpl, toString, usesOrdinaryGetOwnProperty, usesOrdinaryIsExtensibledefaultToString, filterOwnPropertyKeys, formatToString, get, get, getToStringTag, isInstance, isInstance, isInstance, isInstance, ownPropertyKeys, testIntegrityLevelDefaultclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateConstructorAndPrototypecreateConstructorObject, fillConstructorpublic static final com.oracle.truffle.api.strings.TruffleString CLASS_NAME
public static final com.oracle.truffle.api.strings.TruffleString PROTOTYPE_NAME
public static final com.oracle.truffle.api.strings.TruffleString TO_STRING_TAG
public static final JSPluralRules INSTANCE
public static boolean isJSPluralRules(Object obj)
public com.oracle.truffle.api.strings.TruffleString getClassName()
getClassName in interface JSConstructorFactorypublic com.oracle.truffle.api.strings.TruffleString getClassName(JSDynamicObject object)
JSClassgetClassName in class JSClassobject - object to be usedpublic JSDynamicObject createPrototype(JSRealm realm, JSFunctionObject ctor)
createPrototype in interface JSConstructorFactorypublic com.oracle.truffle.api.object.Shape makeInitialShape(JSContext ctx, JSDynamicObject prototype)
makeInitialShape in class JSClasspublic static JSConstructor createConstructor(JSRealm realm)
public static JSPluralRulesObject create(JSContext context, JSRealm realm)
public static com.ibm.icu.text.PluralRules getPluralRulesProperty(JSDynamicObject obj)
public static com.ibm.icu.number.LocalizedNumberFormatter getNumberFormatter(JSDynamicObject obj)
public static com.oracle.truffle.api.strings.TruffleString select(JSDynamicObject pluralRulesObj, Object n)
public static com.oracle.truffle.api.strings.TruffleString selectRange(JSDynamicObject pluralRulesObj, double x, double y)
public static JSDynamicObject resolvedOptions(JSContext context, JSRealm realm, JSDynamicObject pluralRulesObj)
public static JSPluralRules.InternalState getInternalState(JSDynamicObject obj)
public JSDynamicObject getIntrinsicDefaultProto(JSRealm realm)
JSClassPrototypeSupplier.getIntrinsicDefaultProto in interface PrototypeSuppliergetIntrinsicDefaultProto in class JSClassPrototypeSupplier.getIntrinsicDefaultProto(com.oracle.truffle.js.runtime.JSRealm)