aboutsummaryrefslogtreecommitdiff
path: root/node_modules/meriyah/src/chars.ts
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-08-24 14:41:48 +0200
committerMinteck <nekostarfan@gmail.com>2021-08-24 14:41:48 +0200
commitd25e11bee6ca5ca523884da132d18e1400e077b9 (patch)
tree8af39fde19f7ed640a60fb397c7edd647dff1c4c /node_modules/meriyah/src/chars.ts
downloadkartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.tar.gz
kartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.tar.bz2
kartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.zip
Initial commit
Diffstat (limited to 'node_modules/meriyah/src/chars.ts')
-rw-r--r--node_modules/meriyah/src/chars.ts155
1 files changed, 155 insertions, 0 deletions
diff --git a/node_modules/meriyah/src/chars.ts b/node_modules/meriyah/src/chars.ts
new file mode 100644
index 0000000..cbd292c
--- /dev/null
+++ b/node_modules/meriyah/src/chars.ts
@@ -0,0 +1,155 @@
+/**
+ * A list of character constants with much more human-readable names.
+ */
+export const enum Chars {
+
+ Null = 0x00,
+
+ Backspace = 0x08,
+ Tab = 0x09,
+ LineFeed = 0x0A,
+ VerticalTab = 0x0B,
+ FormFeed = 0x0C,
+ CarriageReturn = 0x0D,
+
+ Space = 0x20,
+ Exclamation = 0x21,
+ DoubleQuote = 0x22,
+ Hash = 0x23,
+ Dollar = 0x24,
+ Percent = 0x25,
+ Ampersand = 0x26,
+ SingleQuote = 0x27,
+ LeftParen = 0x28,
+ RightParen = 0x29,
+ Asterisk = 0x2A,
+ Plus = 0x2B,
+ Comma = 0x2C,
+ Hyphen = 0x2D,
+ Period = 0x2E,
+ Slash = 0x2F,
+
+ Zero = 0x30,
+ One = 0x31,
+ Two = 0x32,
+ Three = 0x33,
+ Four = 0x34,
+ Five = 0x35,
+ Six = 0x36,
+ Seven = 0x37,
+ Eight = 0x38,
+ Nine = 0x39,
+ Colon = 0x3A,
+ Semicolon = 0x3B,
+ LessThan = 0x3C,
+ EqualSign = 0x3D,
+ GreaterThan = 0x3E,
+ QuestionMark = 0x3F,
+
+ UpperA = 0x41,
+ UpperB = 0x42,
+ UpperC = 0x43,
+ UpperD = 0x44,
+ UpperE = 0x45,
+ UpperF = 0x46,
+ UpperG = 0x47,
+ UpperH = 0x48,
+ UpperI = 0x49,
+ UpperJ = 0x4A,
+ UpperK = 0x4B,
+ UpperL = 0x4C,
+ UpperM = 0x4D,
+ UpperN = 0x4E,
+ UpperO = 0x4F,
+
+ UpperP = 0x50,
+ UpperQ = 0x51,
+ UpperR = 0x52,
+ UpperS = 0x53,
+ UpperT = 0x54,
+ UpperU = 0x55,
+ UpperV = 0x56,
+ UpperW = 0x57,
+ UpperX = 0x58,
+ UpperY = 0x59,
+ UpperZ = 0x5A,
+ LeftBracket = 0x5B,
+ Backslash = 0x5C,
+ RightBracket = 0x5D,
+ Caret = 0x5E,
+ Underscore = 0x5F,
+
+ Backtick = 0x60,
+ LowerA = 0x61,
+ LowerB = 0x62,
+ LowerC = 0x63,
+ LowerD = 0x64,
+ LowerE = 0x65,
+ LowerF = 0x66,
+ LowerG = 0x67,
+ LowerH = 0x68,
+ LowerI = 0x69,
+ LowerJ = 0x6A,
+ LowerK = 0x6B,
+ LowerL = 0x6C,
+ LowerM = 0x6D,
+ LowerN = 0x6E,
+ LowerO = 0x6F,
+
+ LowerP = 0x70,
+ LowerQ = 0x71,
+ LowerR = 0x72,
+ LowerS = 0x73,
+ LowerT = 0x74,
+ LowerU = 0x75,
+ LowerV = 0x76,
+ LowerW = 0x77,
+ LowerX = 0x78,
+ LowerY = 0x79,
+ LowerZ = 0x7A,
+ LeftBrace = 0x7B,
+ VerticalBar = 0x7C,
+ RightBrace = 0x7D,
+ Tilde = 0x7E,
+ Delete = 0x7F,
+
+ NextLine = 0x85,
+ NonBreakingSpace = 0xA0,
+
+ Ogham = 0x1680,
+
+ EnQuad = 0x2000,
+ EmQuad = 0x2001,
+ EnSpace = 0x2002,
+ EmSpace = 0x2003,
+ ThreePerEmSpace = 0x2004,
+ FourPerEmSpace = 0x2005,
+ SixPerEmSpace = 0x2006,
+ FigureSpace = 0x2007,
+ PunctuationSpace = 0x2008,
+ ThinSpace = 0x2009,
+ HairSpace = 0x200A,
+ ZeroWidthSpace = 0x200B,
+ ZeroWidthJoiner = 0x200C,
+ ZeroWidthNonJoiner = 0x200D,
+
+ LineSeparator = 0x2028,
+ ParagraphSeparator = 0x2029,
+
+ NarrowNoBreakSpace = 0x202F,
+ MathematicalSpace = 0x205F,
+ IdeographicSpace = 0x3000,
+
+ ZeroWidthNoBreakSpace = 0xFEFF,
+
+ ByteOrderMark = 0xFFEF,
+
+ NonBMPMax = 0x10FFFF,
+
+ LeadSurrogateMin = 0xD800,
+ LeadSurrogateMax = 0xDBFF,
+ TrailSurrogateMin = 0xDC00,
+ TrailSurrogateMax = 0xDFFF,
+ UTF16Max = 0xFFFF,
+ NonBMPMin = 0x10000,
+}