forked from rDrama/rDrama
95 lines
2.7 KiB
JavaScript
95 lines
2.7 KiB
JavaScript
|
"use strict";
|
||
|
|
||
|
exports.__esModule = true;
|
||
|
exports.combinator = exports.word = exports.comment = exports.str = exports.tab = exports.newline = exports.feed = exports.cr = exports.backslash = exports.bang = exports.slash = exports.doubleQuote = exports.singleQuote = exports.space = exports.greaterThan = exports.pipe = exports.equals = exports.plus = exports.caret = exports.tilde = exports.dollar = exports.closeSquare = exports.openSquare = exports.closeParenthesis = exports.openParenthesis = exports.semicolon = exports.colon = exports.comma = exports.at = exports.asterisk = exports.ampersand = void 0;
|
||
|
var ampersand = 38; // `&`.charCodeAt(0);
|
||
|
|
||
|
exports.ampersand = ampersand;
|
||
|
var asterisk = 42; // `*`.charCodeAt(0);
|
||
|
|
||
|
exports.asterisk = asterisk;
|
||
|
var at = 64; // `@`.charCodeAt(0);
|
||
|
|
||
|
exports.at = at;
|
||
|
var comma = 44; // `,`.charCodeAt(0);
|
||
|
|
||
|
exports.comma = comma;
|
||
|
var colon = 58; // `:`.charCodeAt(0);
|
||
|
|
||
|
exports.colon = colon;
|
||
|
var semicolon = 59; // `;`.charCodeAt(0);
|
||
|
|
||
|
exports.semicolon = semicolon;
|
||
|
var openParenthesis = 40; // `(`.charCodeAt(0);
|
||
|
|
||
|
exports.openParenthesis = openParenthesis;
|
||
|
var closeParenthesis = 41; // `)`.charCodeAt(0);
|
||
|
|
||
|
exports.closeParenthesis = closeParenthesis;
|
||
|
var openSquare = 91; // `[`.charCodeAt(0);
|
||
|
|
||
|
exports.openSquare = openSquare;
|
||
|
var closeSquare = 93; // `]`.charCodeAt(0);
|
||
|
|
||
|
exports.closeSquare = closeSquare;
|
||
|
var dollar = 36; // `$`.charCodeAt(0);
|
||
|
|
||
|
exports.dollar = dollar;
|
||
|
var tilde = 126; // `~`.charCodeAt(0);
|
||
|
|
||
|
exports.tilde = tilde;
|
||
|
var caret = 94; // `^`.charCodeAt(0);
|
||
|
|
||
|
exports.caret = caret;
|
||
|
var plus = 43; // `+`.charCodeAt(0);
|
||
|
|
||
|
exports.plus = plus;
|
||
|
var equals = 61; // `=`.charCodeAt(0);
|
||
|
|
||
|
exports.equals = equals;
|
||
|
var pipe = 124; // `|`.charCodeAt(0);
|
||
|
|
||
|
exports.pipe = pipe;
|
||
|
var greaterThan = 62; // `>`.charCodeAt(0);
|
||
|
|
||
|
exports.greaterThan = greaterThan;
|
||
|
var space = 32; // ` `.charCodeAt(0);
|
||
|
|
||
|
exports.space = space;
|
||
|
var singleQuote = 39; // `'`.charCodeAt(0);
|
||
|
|
||
|
exports.singleQuote = singleQuote;
|
||
|
var doubleQuote = 34; // `"`.charCodeAt(0);
|
||
|
|
||
|
exports.doubleQuote = doubleQuote;
|
||
|
var slash = 47; // `/`.charCodeAt(0);
|
||
|
|
||
|
exports.slash = slash;
|
||
|
var bang = 33; // `!`.charCodeAt(0);
|
||
|
|
||
|
exports.bang = bang;
|
||
|
var backslash = 92; // '\\'.charCodeAt(0);
|
||
|
|
||
|
exports.backslash = backslash;
|
||
|
var cr = 13; // '\r'.charCodeAt(0);
|
||
|
|
||
|
exports.cr = cr;
|
||
|
var feed = 12; // '\f'.charCodeAt(0);
|
||
|
|
||
|
exports.feed = feed;
|
||
|
var newline = 10; // '\n'.charCodeAt(0);
|
||
|
|
||
|
exports.newline = newline;
|
||
|
var tab = 9; // '\t'.charCodeAt(0);
|
||
|
// Expose aliases primarily for readability.
|
||
|
|
||
|
exports.tab = tab;
|
||
|
var str = singleQuote; // No good single character representation!
|
||
|
|
||
|
exports.str = str;
|
||
|
var comment = -1;
|
||
|
exports.comment = comment;
|
||
|
var word = -2;
|
||
|
exports.word = word;
|
||
|
var combinator = -3;
|
||
|
exports.combinator = combinator;
|