aboutsummaryrefslogtreecommitdiff
path: root/node_modules/csso/lib/parser/const.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/csso/lib/parser/const.js')
-rw-r--r--node_modules/csso/lib/parser/const.js46
1 files changed, 46 insertions, 0 deletions
diff --git a/node_modules/csso/lib/parser/const.js b/node_modules/csso/lib/parser/const.js
new file mode 100644
index 00000000..4c2d4000
--- /dev/null
+++ b/node_modules/csso/lib/parser/const.js
@@ -0,0 +1,46 @@
+exports.TokenType = {
+ String: 'String',
+ Comment: 'Comment',
+ Unknown: 'Unknown',
+ Newline: 'Newline',
+ Space: 'Space',
+ Tab: 'Tab',
+ ExclamationMark: 'ExclamationMark', // !
+ QuotationMark: 'QuotationMark', // "
+ NumberSign: 'NumberSign', // #
+ DollarSign: 'DollarSign', // $
+ PercentSign: 'PercentSign', // %
+ Ampersand: 'Ampersand', // &
+ Apostrophe: 'Apostrophe', // '
+ LeftParenthesis: 'LeftParenthesis', // (
+ RightParenthesis: 'RightParenthesis', // )
+ Asterisk: 'Asterisk', // *
+ PlusSign: 'PlusSign', // +
+ Comma: 'Comma', // ,
+ HyphenMinus: 'HyphenMinus', // -
+ FullStop: 'FullStop', // .
+ Solidus: 'Solidus', // /
+ Colon: 'Colon', // :
+ Semicolon: 'Semicolon', // ;
+ LessThanSign: 'LessThanSign', // <
+ EqualsSign: 'EqualsSign', // =
+ GreaterThanSign: 'GreaterThanSign', // >
+ QuestionMark: 'QuestionMark', // ?
+ CommercialAt: 'CommercialAt', // @
+ LeftSquareBracket: 'LeftSquareBracket', // [
+ ReverseSolidus: 'ReverseSolidus', // \
+ RightSquareBracket: 'RightSquareBracket', // ]
+ CircumflexAccent: 'CircumflexAccent', // ^
+ LowLine: 'LowLine', // _
+ LeftCurlyBracket: 'LeftCurlyBracket', // {
+ VerticalLine: 'VerticalLine', // |
+ RightCurlyBracket: 'RightCurlyBracket', // }
+ Tilde: 'Tilde', // ~
+ Identifier: 'Identifier',
+ DecimalNumber: 'DecimalNumber'
+};
+
+// var i = 1;
+// for (var key in exports.TokenType) {
+// exports.TokenType[key] = i++;
+// }