graphemebreak.js
No description.

File Location

/goog/i18n/graphemebreak.js


Public Protected Private

Enumerations

Global Functions

goog.i18n.GraphemeBreak.applyLegacyBreakRules_(prop_aprop_b) boolean
There are two kinds of grapheme clusters: 1) Legacy 2)Extended. This method is to check for legacy rules.
Arguments:
prop_a : number
The property enum value of the first character.
prop_b : number
The property enum value of the second character.
Returns: boolean  True if a & b do not form a cluster; False otherwise.
code »
goog.i18n.GraphemeBreak.getBreakProp_(acode) number
Method to return property enum value of the codepoint. If it is Hangul LV or LVT, then it is computed; for the rest it is picked from the inversion map.
Arguments:
acode : number
The code point value of the character.
Returns: number  Property enum value of codepoint.
code »
goog.i18n.GraphemeBreak.hasGraphemeBreak(abopt_extended) boolean
There are two kinds of grapheme clusters: 1) Legacy 2)Extended. This method is to check for both using a boolean flag to switch between them.
Arguments:
a : number
The code point value of the first character.
b : number
The code point value of the second character.
opt_extended : boolean=
If true, indicates extended grapheme cluster; If false, indicates legacy cluster.
Returns: boolean  True if a & b do not form a cluster; False otherwise.
code »

Directory i18n

File Reference