ScriptWithExtensions class final

An ICU4X ScriptWithExtensions map object, capable of holding a map of codepoints to scriptextensions values

See the Rust documentation for ScriptWithExtensions for more information.

Implemented types

Constructors

ScriptWithExtensions.new()
Create a map for the Script/Script_Extensions properties, using compiled data.
factory
ScriptWithExtensions.withProvider(DataProvider provider)
Create a map for the Script/Script_Extensions properties, using compiled data.
factory

Properties

asBorrowed ScriptWithExtensionsBorrowed
Borrow this object for a slightly faster variant with more operations
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getScriptVal(Rune ch) int
Get the Script property value for a code point
hasScript(Rune ch, int script) bool
Check if the Script_Extensions property of the given code point covers the given script
iterRangesForScript(int script) CodePointRangeIterator
Get a list of ranges of code points that contain this script in their Script_Extensions values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited