QUT.Gplex.CharCategory.CharCategory C# (CSharp) Method

CharCategory() private method

private CharCategory ( ) : System
return System
        static CharCategory()
        {
            idStart[(int)UnicodeCategory.UppercaseLetter] = true;
            idStart[(int)UnicodeCategory.LowercaseLetter] = true;
            idStart[(int)UnicodeCategory.TitlecaseLetter] = true;
            idStart[(int)UnicodeCategory.ModifierLetter] = true;
            idStart[(int)UnicodeCategory.OtherLetter] = true;
            idStart[(int)UnicodeCategory.LetterNumber] = true;

            idPart[(int)UnicodeCategory.UppercaseLetter] = true;
            idPart[(int)UnicodeCategory.LowercaseLetter] = true;
            idPart[(int)UnicodeCategory.TitlecaseLetter] = true;
            idPart[(int)UnicodeCategory.ModifierLetter] = true;
            idPart[(int)UnicodeCategory.OtherLetter] = true;
            idPart[(int)UnicodeCategory.LetterNumber] = true;

            idPart[(int)UnicodeCategory.DecimalDigitNumber] = true;

            idPart[(int)UnicodeCategory.ConnectorPunctuation] = true;

            idPart[(int)UnicodeCategory.NonSpacingMark] = true;
            idPart[(int)UnicodeCategory.SpacingCombiningMark] = true;

            // Format characters are not included, so that we
            // may use a different semantic action with identifiers
            // that require canonicalization.
            //
            // idPart[(int)UnicodeCategory.Format] = true;
        }