Lines Matching defs:collation
142 // 6. Let collation be ? GetOption(options, "collation", "string", undefined, undefined).
143 // 7. If collation is not undefined, then
144 // a. If collation does not match the Unicode Locale Identifier type nonterminal, throw a RangeError exception.
145 JSHandle<JSTaggedValue> collation =
149 collator->SetCollation(thread, collation);
151 if (!collation->IsUndefined()) {
152 JSHandle<EcmaString> collationEcmaStr = JSHandle<EcmaString>::Cast(collation);
155 THROW_RANGE_ERROR_AND_RETURN(thread, "invalid collation", collator);
193 // If collation is undefined iterate RelevantExtensionKeys to find "co"
196 if (!collation->IsUndefined()) {
205 // Eles set collation string to icu locale key word value
225 THROW_RANGE_ERROR_AND_RETURN(thread, "invalid collation", collator);