1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsUGenCategory_h
8 #define nsUGenCategory_h
11 * Read http://unicode.org/reports/tr44/#General_Category_Values
12 * for the detailed definition of the following categories
14 enum class nsUGenCategory
{
16 kMark
= 1, // Mn, Mc, and Me
17 kNumber
= 2, // Nd, Nl, and No
18 kSeparator
= 3, // Zs, Zl, and Zp
19 kOther
= 4, // Cc, Cf, Cs, Co, and Cn
20 kLetter
= 5, // Lu, Ll, Lt, Lm, and Lo
21 kPunctuation
= 6, // Pc, Pd, Ps, Pe, Pi, Pf, and Po
22 kSymbol
= 7 // Sm, Sc, Sk, and So
25 #endif // nsUGenCategory_h