grapheme_splitter library
Classes
Properties
- Break → int
-
final
- BreakLastRegional → int
-
final
- BreakPenultimateRegional → int
-
final
- BreakStart → int
-
final
- Control → int
-
final
- CR → int
-
final
- E_Base → int
-
final
- E_Base_GAZ → int
-
final
- E_Modifier → int
-
final
- Extend → int
-
final
- Glue_After_Zwj → int
-
final
- L → int
-
final
- LF → int
-
final
- LV → int
-
final
- LVT → int
-
final
- NotBreak → int
-
final
- Other → int
-
final
- Prepend → int
-
final
- Regional_Indicator → int
-
final
- SpacingMark → int
-
final
- T → int
-
final
- V → int
-
final
- ZWJ → int
-
final
Functions
-
codePointAt(
String str, [int? idx]) → int - codePointAt gets a Unicode code point from a JavaScript UTF-16 string handling surrogate pairs appropriately
-
getGraphemeBreakProperty(
int code) → int -
isSurrogate(
String str, int pos) → bool -
shouldBreak(
int start, List< int> mid, int end) → int - shouldBreak returns whether a break is allowed between the two given grapheme breaking classes
-
sliceFromEnd(
List< int> list, int idx) → List<int>