Lines Matching defs:options
82 const JSHandle<JSTaggedValue> &options)
90 // 5. Let options be ? GetOptionsObject(options).
92 if (options->IsUndefined()) {
94 } else if (!options->IsJSObject()) {
95 THROW_TYPE_ERROR_AND_RETURN(thread, "options is not Object", segmenter);
97 optionsObject = JSTaggedValue::ToObject(thread, options);
102 // 7. Let matcher be ? GetOption(options, "localeMatcher", string, « "lookup", "best fit" », "best fit").
129 // 12. Let granularity be ? GetOption(options, "granularity", string, « "grapheme", "word", "sentence" »,
169 const JSHandle<JSObject> &options)
176 JSObject::CreateDataPropertyOrThrow(thread, options, propertyKey, locale);
183 JSObject::CreateDataPropertyOrThrow(thread, options, propertyKey, granularityString);