public final class JSSegmenter extends JSNonProxy implements JSConstructorFactory.WithFunctions, PrototypeSupplier
usesOrdinaryGetOwnProperty| Modifier and Type | Class and Description |
|---|---|
static class |
JSSegmenter.Granularity |
static class |
JSSegmenter.InternalState |
static class |
JSSegmenter.IteratorState |
JSConstructorFactory.Default, JSConstructorFactory.WithFunctions, JSConstructorFactory.WithFunctionsAndSpecies| Modifier and Type | Field and Description |
|---|---|
static com.oracle.truffle.api.strings.TruffleString |
CLASS_NAME |
static com.oracle.truffle.api.strings.TruffleString |
GET_BREAK_TYPE |
static com.oracle.truffle.api.strings.TruffleString |
GET_INDEX |
static JSSegmenter |
INSTANCE |
static com.oracle.truffle.api.strings.TruffleString |
ITERATOR_CLASS_NAME |
static com.oracle.truffle.api.strings.TruffleString |
ITERATOR_PROTOTYPE_NAME |
static com.oracle.truffle.api.strings.TruffleString |
PROTOTYPE_NAME |
static com.oracle.truffle.api.strings.TruffleString |
SEGMENTS_PROTOTYPE_NAME |
static com.oracle.truffle.api.strings.TruffleString |
TO_STRING_TAG |
GET_SYMBOL_SPECIES_NAME| Modifier and Type | Method and Description |
|---|---|
static JSSegmenterObject |
create(JSContext context,
JSRealm realm,
JSDynamicObject proto) |
static org.graalvm.shadowed.com.ibm.icu.text.BreakIterator |
createBreakIterator(JSSegmenterObject segmenterObj) |
static org.graalvm.shadowed.com.ibm.icu.text.BreakIterator |
createBreakIterator(JSSegmenterObject segmenterObj,
String text) |
static JSConstructor |
createConstructor(JSRealm realm) |
JSDynamicObject |
createPrototype(JSRealm realm,
JSFunctionObject ctor) |
static JSSegmentIteratorObject |
createSegmentIterator(JSContext context,
JSRealm realm,
JSSegmenterObject segmenter,
com.oracle.truffle.api.strings.TruffleString value) |
static JSObject |
createSegmentIteratorPrototype(JSRealm realm)
Creates the %SegmentIteratorPrototype% object.
|
static JSSegmentsObject |
createSegments(JSContext context,
JSRealm realm,
JSSegmenterObject segmenter,
com.oracle.truffle.api.strings.TruffleString string) |
static JSObject |
createSegmentsPrototype(JSRealm realm) |
com.oracle.truffle.api.strings.TruffleString |
getClassName() |
com.oracle.truffle.api.strings.TruffleString |
getClassName(JSDynamicObject object)
The [[Class]] internal property.
|
static JSSegmenter.Granularity |
getGranularity(JSSegmenterObject segmenterObj) |
JSDynamicObject |
getIntrinsicDefaultProto(JSRealm realm)
Allows invokevirtual of this method instead of invokeinterface.
|
static boolean |
isJSSegmenter(Object obj) |
static boolean |
isJSSegmentIterator(Object obj) |
static boolean |
isJSSegments(Object obj) |
static com.oracle.truffle.api.object.Shape |
makeInitialSegmentIteratorShape(JSContext ctx,
JSDynamicObject prototype) |
static com.oracle.truffle.api.object.Shape |
makeInitialSegmentsShape(JSContext ctx,
JSDynamicObject prototype) |
com.oracle.truffle.api.object.Shape |
makeInitialShape(JSContext ctx,
JSDynamicObject prototype) |
static JSObject |
resolvedOptions(JSContext context,
JSRealm realm,
JSSegmenterObject segmenterObj) |
static void |
setLocale(JSContext ctx,
JSSegmenter.InternalState state,
String[] locales) |
static void |
setupInternalBreakIterator(JSSegmenter.InternalState state,
String granularity) |
checkProtoCycle, createSymbolSpeciesGetterFunction, defineOwnProperty, delete, delete, deletePropertyDefault, getBuiltinToStringTag, getHelper, getHelper, getMethodHelper, getOwnHelper, getOwnHelper, getOwnProperty, getOwnPropertyKeys, getPrototypeOf, hasOnlyShapeProperties, hasOwnProperty, hasOwnProperty, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryIsExtensible, 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 SEGMENTS_PROTOTYPE_NAME
public static final com.oracle.truffle.api.strings.TruffleString ITERATOR_CLASS_NAME
public static final com.oracle.truffle.api.strings.TruffleString ITERATOR_PROTOTYPE_NAME
public static final com.oracle.truffle.api.strings.TruffleString TO_STRING_TAG
public static final com.oracle.truffle.api.strings.TruffleString GET_BREAK_TYPE
public static final com.oracle.truffle.api.strings.TruffleString GET_INDEX
public static final JSSegmenter INSTANCE
public static boolean isJSSegmenter(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 JSSegmenterObject create(JSContext context, JSRealm realm, JSDynamicObject proto)
public static JSSegmentIteratorObject createSegmentIterator(JSContext context, JSRealm realm, JSSegmenterObject segmenter, com.oracle.truffle.api.strings.TruffleString value)
public static JSSegmentsObject createSegments(JSContext context, JSRealm realm, JSSegmenterObject segmenter, com.oracle.truffle.api.strings.TruffleString string)
public static void setLocale(JSContext ctx, JSSegmenter.InternalState state, String[] locales)
public static void setupInternalBreakIterator(JSSegmenter.InternalState state, String granularity)
public static org.graalvm.shadowed.com.ibm.icu.text.BreakIterator createBreakIterator(JSSegmenterObject segmenterObj)
public static org.graalvm.shadowed.com.ibm.icu.text.BreakIterator createBreakIterator(JSSegmenterObject segmenterObj, String text)
public static JSSegmenter.Granularity getGranularity(JSSegmenterObject segmenterObj)
public static JSObject resolvedOptions(JSContext context, JSRealm realm, JSSegmenterObject segmenterObj)
public JSDynamicObject getIntrinsicDefaultProto(JSRealm realm)
JSClassPrototypeSupplier.getIntrinsicDefaultProto in interface PrototypeSuppliergetIntrinsicDefaultProto in class JSClassPrototypeSupplier.getIntrinsicDefaultProto(com.oracle.truffle.js.runtime.JSRealm)public static com.oracle.truffle.api.object.Shape makeInitialSegmentsShape(JSContext ctx, JSDynamicObject prototype)
public static boolean isJSSegments(Object obj)
public static com.oracle.truffle.api.object.Shape makeInitialSegmentIteratorShape(JSContext ctx, JSDynamicObject prototype)
public static boolean isJSSegmentIterator(Object obj)