go2hx

manual

github

Module: stdgo.unicode

(view library index)

Overview

Index

Constants

import stdgo.unicode.Unicode
final lowerCase:stdgo.GoUInt64 = stdgo._internal.unicode.Unicode_lowerCase.lowerCase
final maxASCII:Int = stdgo._internal.unicode.Unicode_maxASCII.maxASCII
final maxCase:stdgo.GoUInt64 = stdgo._internal.unicode.Unicode_maxCase.maxCase
final maxLatin1:Int = stdgo._internal.unicode.Unicode_maxLatin1.maxLatin1
final maxRune:Int = stdgo._internal.unicode.Unicode_maxRune.maxRune
final replacementChar:Int = stdgo._internal.unicode.Unicode_replacementChar.replacementChar
final titleCase:stdgo.GoUInt64 = stdgo._internal.unicode.Unicode_titleCase.titleCase
final upperCase:haxe.UInt64 = stdgo._internal.unicode.Unicode_upperCase.upperCase
final upperLower:Int = stdgo._internal.unicode.Unicode_upperLower.upperLower
final version:String = stdgo._internal.unicode.Unicode_version.version

Variables

import stdgo.unicode.Unicode
var adlam:stdgo.unicode.RangeTable
var ahom:stdgo.unicode.RangeTable
var anatolian_Hieroglyphs:stdgo.unicode.RangeTable
var arabic:stdgo.unicode.RangeTable
var armenian:stdgo.unicode.RangeTable
var ascii_Hex_Digit:stdgo.unicode.RangeTable
var avestan:stdgo.unicode.RangeTable
var azeriCase:stdgo.unicode.SpecialCase
var balinese:stdgo.unicode.RangeTable
var bamum:stdgo.unicode.RangeTable
var bassa_Vah:stdgo.unicode.RangeTable
var batak:stdgo.unicode.RangeTable
var bengali:stdgo.unicode.RangeTable
var bhaiksuki:stdgo.unicode.RangeTable
var bidi_Control:stdgo.unicode.RangeTable
var bopomofo:stdgo.unicode.RangeTable
var brahmi:stdgo.unicode.RangeTable
var braille:stdgo.unicode.RangeTable
var buginese:stdgo.unicode.RangeTable
var buhid:stdgo.unicode.RangeTable
var c:stdgo.unicode.RangeTable
var canadian_Aboriginal:stdgo.unicode.RangeTable
var carian:stdgo.unicode.RangeTable
var caseRanges:Array<stdgo.unicode.CaseRange>
var categories:stdgo.GoMap<stdgo.GoString, stdgo.Ref<stdgo._internal.unicode.RangeTable>>
var caucasian_Albanian:stdgo.unicode.RangeTable
var cc:stdgo.unicode.RangeTable
var cf:stdgo.unicode.RangeTable
var chakma:stdgo.unicode.RangeTable
var cham:stdgo.unicode.RangeTable
var cherokee:stdgo.unicode.RangeTable
var chorasmian:stdgo.unicode.RangeTable
var co:stdgo.unicode.RangeTable
var common:stdgo.unicode.RangeTable
var coptic:stdgo.unicode.RangeTable
var cs:stdgo.unicode.RangeTable
var cuneiform:stdgo.unicode.RangeTable
var cypriot:stdgo.unicode.RangeTable
var cypro_Minoan:stdgo.unicode.RangeTable
var cyrillic:stdgo.unicode.RangeTable
var dash:stdgo.unicode.RangeTable
var deprecated:stdgo.unicode.RangeTable
var deseret:stdgo.unicode.RangeTable
var devanagari:stdgo.unicode.RangeTable
var diacritic:stdgo.unicode.RangeTable
var digit:stdgo.unicode.RangeTable
var dives_Akuru:stdgo.unicode.RangeTable
var dogra:stdgo.unicode.RangeTable
var duployan:stdgo.unicode.RangeTable
var egyptian_Hieroglyphs:stdgo.unicode.RangeTable
var elbasan:stdgo.unicode.RangeTable
var elymaic:stdgo.unicode.RangeTable
var ethiopic:stdgo.unicode.RangeTable
var extender:stdgo.unicode.RangeTable
var foldCategory:stdgo.GoMap<stdgo.GoString, stdgo.Ref<stdgo._internal.unicode.RangeTable>>
var foldScript:stdgo.GoMap<stdgo.GoString, stdgo.Ref<stdgo._internal.unicode.RangeTable>>
var georgian:stdgo.unicode.RangeTable
var glagolitic:stdgo.unicode.RangeTable
var gothic:stdgo.unicode.RangeTable
var grantha:stdgo.unicode.RangeTable
var graphicRanges:Array<stdgo.unicode.RangeTable>
var greek:stdgo.unicode.RangeTable
var gujarati:stdgo.unicode.RangeTable
var gunjala_Gondi:stdgo.unicode.RangeTable
var gurmukhi:stdgo.unicode.RangeTable
var han:stdgo.unicode.RangeTable
var hangul:stdgo.unicode.RangeTable
var hanifi_Rohingya:stdgo.unicode.RangeTable
var hanunoo:stdgo.unicode.RangeTable
var hatran:stdgo.unicode.RangeTable
var hebrew:stdgo.unicode.RangeTable
var hex_Digit:stdgo.unicode.RangeTable
var hiragana:stdgo.unicode.RangeTable
var hyphen:stdgo.unicode.RangeTable
var ideographic:stdgo.unicode.RangeTable
var ids_Binary_Operator:stdgo.unicode.RangeTable
var ids_Trinary_Operator:stdgo.unicode.RangeTable
var imperial_Aramaic:stdgo.unicode.RangeTable
var inherited:stdgo.unicode.RangeTable
var inscriptional_Pahlavi:stdgo.unicode.RangeTable
var inscriptional_Parthian:stdgo.unicode.RangeTable
var javanese:stdgo.unicode.RangeTable
var join_Control:stdgo.unicode.RangeTable
var kaithi:stdgo.unicode.RangeTable
var kannada:stdgo.unicode.RangeTable
var katakana:stdgo.unicode.RangeTable
var kawi:stdgo.unicode.RangeTable
var kayah_Li:stdgo.unicode.RangeTable
var kharoshthi:stdgo.unicode.RangeTable
var khitan_Small_Script:stdgo.unicode.RangeTable
var khmer:stdgo.unicode.RangeTable
var khojki:stdgo.unicode.RangeTable
var khudawadi:stdgo.unicode.RangeTable
var l:stdgo.unicode.RangeTable
var lao:stdgo.unicode.RangeTable
var latin:stdgo.unicode.RangeTable
var lepcha:stdgo.unicode.RangeTable
var letter:stdgo.unicode.RangeTable
var limbu:stdgo.unicode.RangeTable
var linear_A:stdgo.unicode.RangeTable
var linear_B:stdgo.unicode.RangeTable
var lisu:stdgo.unicode.RangeTable
var ll:stdgo.unicode.RangeTable
var lm:stdgo.unicode.RangeTable
var lo:stdgo.unicode.RangeTable
var logical_Order_Exception:stdgo.unicode.RangeTable
var lower:stdgo.unicode.RangeTable
var lt:stdgo.unicode.RangeTable
var lu:stdgo.unicode.RangeTable
var lycian:stdgo.unicode.RangeTable
var lydian:stdgo.unicode.RangeTable
var m:stdgo.unicode.RangeTable
var mahajani:stdgo.unicode.RangeTable
var makasar:stdgo.unicode.RangeTable
var malayalam:stdgo.unicode.RangeTable
var mandaic:stdgo.unicode.RangeTable
var manichaean:stdgo.unicode.RangeTable
var marchen:stdgo.unicode.RangeTable
var mark:stdgo.unicode.RangeTable
var masaram_Gondi:stdgo.unicode.RangeTable
var mc:stdgo.unicode.RangeTable
var me:stdgo.unicode.RangeTable
var medefaidrin:stdgo.unicode.RangeTable
var meetei_Mayek:stdgo.unicode.RangeTable
var mende_Kikakui:stdgo.unicode.RangeTable
var meroitic_Cursive:stdgo.unicode.RangeTable
var meroitic_Hieroglyphs:stdgo.unicode.RangeTable
var miao:stdgo.unicode.RangeTable
var mn:stdgo.unicode.RangeTable
var modi:stdgo.unicode.RangeTable
var mongolian:stdgo.unicode.RangeTable
var mro:stdgo.unicode.RangeTable
var multani:stdgo.unicode.RangeTable
var myanmar:stdgo.unicode.RangeTable
var n:stdgo.unicode.RangeTable
var nabataean:stdgo.unicode.RangeTable
var nag_Mundari:stdgo.unicode.RangeTable
var nandinagari:stdgo.unicode.RangeTable
var nd:stdgo.unicode.RangeTable
var new_Tai_Lue:stdgo.unicode.RangeTable
var newa:stdgo.unicode.RangeTable
var nko:stdgo.unicode.RangeTable
var nl:stdgo.unicode.RangeTable
var no:stdgo.unicode.RangeTable
var noncharacter_Code_Point:stdgo.unicode.RangeTable
var number:stdgo.unicode.RangeTable
var nushu:stdgo.unicode.RangeTable
var nyiakeng_Puachue_Hmong:stdgo.unicode.RangeTable
var ogham:stdgo.unicode.RangeTable
var ol_Chiki:stdgo.unicode.RangeTable
var old_Hungarian:stdgo.unicode.RangeTable
var old_Italic:stdgo.unicode.RangeTable
var old_North_Arabian:stdgo.unicode.RangeTable
var old_Permic:stdgo.unicode.RangeTable
var old_Persian:stdgo.unicode.RangeTable
var old_Sogdian:stdgo.unicode.RangeTable
var old_South_Arabian:stdgo.unicode.RangeTable
var old_Turkic:stdgo.unicode.RangeTable
var old_Uyghur:stdgo.unicode.RangeTable
var oriya:stdgo.unicode.RangeTable
var osage:stdgo.unicode.RangeTable
var osmanya:stdgo.unicode.RangeTable
var other:stdgo.unicode.RangeTable
var other_Alphabetic:stdgo.unicode.RangeTable
var other_Default_Ignorable_Code_Point:stdgo.unicode.RangeTable
var other_Grapheme_Extend:stdgo.unicode.RangeTable
var other_ID_Continue:stdgo.unicode.RangeTable
var other_ID_Start:stdgo.unicode.RangeTable
var other_Lowercase:stdgo.unicode.RangeTable
var other_Math:stdgo.unicode.RangeTable
var other_Uppercase:stdgo.unicode.RangeTable
var p:stdgo.unicode.RangeTable
var pahawh_Hmong:stdgo.unicode.RangeTable
var palmyrene:stdgo.unicode.RangeTable
var pattern_Syntax:stdgo.unicode.RangeTable
var pattern_White_Space:stdgo.unicode.RangeTable
var pau_Cin_Hau:stdgo.unicode.RangeTable
var pc:stdgo.unicode.RangeTable
var pd:stdgo.unicode.RangeTable
var pe:stdgo.unicode.RangeTable
var pf:stdgo.unicode.RangeTable
var phags_Pa:stdgo.unicode.RangeTable
var phoenician:stdgo.unicode.RangeTable
var pi:stdgo.unicode.RangeTable
var po:stdgo.unicode.RangeTable
var prepended_Concatenation_Mark:stdgo.unicode.RangeTable
var printRanges:Array<stdgo.unicode.RangeTable>
var properties:stdgo.GoMap<stdgo.GoString, stdgo.Ref<stdgo._internal.unicode.RangeTable>>
var ps:stdgo.unicode.RangeTable
var psalter_Pahlavi:stdgo.unicode.RangeTable
var punct:stdgo.unicode.RangeTable
var quotation_Mark:stdgo.unicode.RangeTable
var radical:stdgo.unicode.RangeTable
var regional_Indicator:stdgo.unicode.RangeTable
var rejang:stdgo.unicode.RangeTable
var runic:stdgo.unicode.RangeTable
var s:stdgo.unicode.RangeTable
var samaritan:stdgo.unicode.RangeTable
var saurashtra:stdgo.unicode.RangeTable
var sc:stdgo.unicode.RangeTable
var scripts:stdgo.GoMap<stdgo.GoString, stdgo.Ref<stdgo._internal.unicode.RangeTable>>
var sentence_Terminal:stdgo.unicode.RangeTable
var sharada:stdgo.unicode.RangeTable
var shavian:stdgo.unicode.RangeTable
var siddham:stdgo.unicode.RangeTable
var signWriting:stdgo.unicode.RangeTable
var sinhala:stdgo.unicode.RangeTable
var sk:stdgo.unicode.RangeTable
var sm:stdgo.unicode.RangeTable
var so:stdgo.unicode.RangeTable
var soft_Dotted:stdgo.unicode.RangeTable
var sogdian:stdgo.unicode.RangeTable
var sora_Sompeng:stdgo.unicode.RangeTable
var soyombo:stdgo.unicode.RangeTable
var space:stdgo.unicode.RangeTable
var sterm:stdgo.unicode.RangeTable
var sundanese:stdgo.unicode.RangeTable
var syloti_Nagri:stdgo.unicode.RangeTable
var symbol:stdgo.unicode.RangeTable
var syriac:stdgo.unicode.RangeTable
var tagalog:stdgo.unicode.RangeTable
var tagbanwa:stdgo.unicode.RangeTable
var tai_Le:stdgo.unicode.RangeTable
var tai_Tham:stdgo.unicode.RangeTable
var tai_Viet:stdgo.unicode.RangeTable
var takri:stdgo.unicode.RangeTable
var tamil:stdgo.unicode.RangeTable
var tangsa:stdgo.unicode.RangeTable
var tangut:stdgo.unicode.RangeTable
var telugu:stdgo.unicode.RangeTable
var terminal_Punctuation:stdgo.unicode.RangeTable
var thaana:stdgo.unicode.RangeTable
var thai:stdgo.unicode.RangeTable
var tibetan:stdgo.unicode.RangeTable
var tifinagh:stdgo.unicode.RangeTable
var tirhuta:stdgo.unicode.RangeTable
var title:stdgo.unicode.RangeTable
var toto:stdgo.unicode.RangeTable
var turkishCase:stdgo.unicode.SpecialCase
var ugaritic:stdgo.unicode.RangeTable
var unified_Ideograph:stdgo.unicode.RangeTable
var upper:stdgo.unicode.RangeTable
var vai:stdgo.unicode.RangeTable
var variation_Selector:stdgo.unicode.RangeTable
var vithkuqi:stdgo.unicode.RangeTable
var wancho:stdgo.unicode.RangeTable
var warang_Citi:stdgo.unicode.RangeTable
var white_Space:stdgo.unicode.RangeTable
var yezidi:stdgo.unicode.RangeTable
var yi:stdgo.unicode.RangeTable
var z:stdgo.unicode.RangeTable
var zanabazar_Square:stdgo.unicode.RangeTable
var zl:stdgo.unicode.RangeTable
var zp:stdgo.unicode.RangeTable
var zs:stdgo.unicode.RangeTable

Classes

import stdgo.unicode.*

class Unicode

Package unicode provides data and functions to test some properties of
    Unicode code points.

Unicode function in_

function in_(_r:Int, _ranges:haxe.Rest<stdgo.unicode.RangeTable>):Bool

In reports whether the rune is a member of one of the ranges.

(view code)

Unicode function isControl

function isControl(_r:Int):Bool
IsControl reports whether the rune is a control character.
        The C (Other) Unicode category includes more code points
        such as surrogates; use Is(C, r) to test for them.

(view code)

Unicode function isDigit

function isDigit(_r:Int):Bool

IsDigit reports whether the rune is a decimal digit.

(view code)

Unicode function isGraphic

function isGraphic(_r:Int):Bool
IsGraphic reports whether the rune is defined as a Graphic by Unicode.
        Such characters include letters, marks, numbers, punctuation, symbols, and
        spaces, from categories L, M, N, P, S, Zs.

(view code)

Unicode function isLetter

function isLetter(_r:Int):Bool

IsLetter reports whether the rune is a letter (category L).

(view code)

Unicode function isLower

function isLower(_r:Int):Bool

IsLower reports whether the rune is a lower case letter.

(view code)

Unicode function isMark

function isMark(_r:Int):Bool

IsMark reports whether the rune is a mark character (category M).

(view code)

Unicode function isNumber

function isNumber(_r:Int):Bool

IsNumber reports whether the rune is a number (category N).

(view code)

Unicode function isOneOf

function isOneOf(_ranges:Array<stdgo.unicode.RangeTable>, _r:Int):Bool
IsOneOf reports whether the rune is a member of one of the ranges.
        The function "In" provides a nicer signature and should be used in preference to IsOneOf.

(view code)

Unicode function isPrint

function isPrint(_r:Int):Bool
IsPrint reports whether the rune is defined as printable by Go. Such
        characters include letters, marks, numbers, punctuation, symbols, and the
        ASCII space character, from categories L, M, N, P, S and the ASCII space
        character. This categorization is the same as IsGraphic except that the
        only spacing character is ASCII space, U+0020.

(view code)

Unicode function isPunct

function isPunct(_r:Int):Bool
IsPunct reports whether the rune is a Unicode punctuation character
        (category P).

(view code)

Unicode function isSpace

function isSpace(_r:Int):Bool
IsSpace reports whether the rune is a space character as defined
        by Unicode's White Space property; in the Latin-1 space
        this is
        	'\t', '\n', '\v', '\f', '\r', ' ', U+0085 (NEL), U+00A0 (NBSP).

Other definitions of spacing characters are set by category Z and property Pattern_White_Space.

(view code)

Unicode function isSymbol

function isSymbol(_r:Int):Bool

IsSymbol reports whether the rune is a symbolic character.

(view code)

Unicode function isTitle

function isTitle(_r:Int):Bool

IsTitle reports whether the rune is a title case letter.

(view code)

Unicode function isUpper

function isUpper(_r:Int):Bool

IsUpper reports whether the rune is an upper case letter.

(view code)

Unicode function is_

function is_(_rangeTab:stdgo.unicode.RangeTable, _r:Int):Bool

Is reports whether the rune is in the specified table of ranges.

(view code)

Unicode function simpleFold

function simpleFold(_r:Int):Int
SimpleFold iterates over Unicode code points equivalent under
        the Unicode-defined simple case folding. Among the code points
        equivalent to rune (including rune itself), SimpleFold returns the
        smallest rune > r if one exists, or else the smallest rune >= 0.
        If r is not a valid Unicode code point, SimpleFold(r) returns r.

For example:

        	SimpleFold('A') = 'a'
        	SimpleFold('a') = 'A'
        	SimpleFold('K') = 'k'
        	SimpleFold('k') = '\u212A' (Kelvin symbol, K)
        	SimpleFold('\u212A') = 'K'
        	SimpleFold('1') = '1'
        	SimpleFold(-2) = -2

(view code)

Unicode function to

function to(__case:Int, _r:Int):Int

To maps the rune to the specified case: UpperCase, LowerCase, or TitleCase.

(view code)

Unicode function toLower

function toLower(_r:Int):Int

ToLower maps the rune to lower case.

(view code)

Unicode function toTitle

function toTitle(_r:Int):Int

ToTitle maps the rune to title case.

(view code)

Unicode function toUpper

function toUpper(_r:Int):Int

ToUpper maps the rune to upper case.

(view code)

Typedefs

import stdgo.unicode.*

typedef SpecialCase

typedef SpecialCase = stdgo._internal.unicode.SpecialCase;

typedef T_d

typedef T_d = stdgo._internal.unicode.T_d;

Abstracts

abstract RangeTable

(view file containing code)

abstract Range16

(view file containing code)

abstract Range32

(view file containing code)

abstract CaseRange

(view file containing code)

abstract T_foldPair

(view file containing code)