source: trip-planner-front/node_modules/@angular/compiler/src/chars.js@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 11.4 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8(function (factory) {
9 if (typeof module === "object" && typeof module.exports === "object") {
10 var v = factory(require, exports);
11 if (v !== undefined) module.exports = v;
12 }
13 else if (typeof define === "function" && define.amd) {
14 define("@angular/compiler/src/chars", ["require", "exports"], factory);
15 }
16})(function (require, exports) {
17 "use strict";
18 Object.defineProperty(exports, "__esModule", { value: true });
19 exports.isQuote = exports.isOctalDigit = exports.isNewLine = exports.isAsciiHexDigit = exports.isAsciiLetter = exports.isDigit = exports.isWhitespace = exports.$BT = exports.$AT = exports.$TILDA = exports.$PIPE = exports.$NBSP = exports.$RBRACE = exports.$BAR = exports.$LBRACE = exports.$z = exports.$x = exports.$v = exports.$u = exports.$t = exports.$r = exports.$n = exports.$f = exports.$e = exports.$b = exports.$a = exports.$_ = exports.$CARET = exports.$RBRACKET = exports.$BACKSLASH = exports.$LBRACKET = exports.$Z = exports.$X = exports.$F = exports.$E = exports.$A = exports.$9 = exports.$7 = exports.$0 = exports.$QUESTION = exports.$GT = exports.$EQ = exports.$LT = exports.$SEMICOLON = exports.$COLON = exports.$SLASH = exports.$PERIOD = exports.$MINUS = exports.$COMMA = exports.$PLUS = exports.$STAR = exports.$RPAREN = exports.$LPAREN = exports.$SQ = exports.$AMPERSAND = exports.$PERCENT = exports.$$ = exports.$HASH = exports.$DQ = exports.$BANG = exports.$SPACE = exports.$CR = exports.$FF = exports.$VTAB = exports.$LF = exports.$TAB = exports.$BSPACE = exports.$EOF = void 0;
20 exports.$EOF = 0;
21 exports.$BSPACE = 8;
22 exports.$TAB = 9;
23 exports.$LF = 10;
24 exports.$VTAB = 11;
25 exports.$FF = 12;
26 exports.$CR = 13;
27 exports.$SPACE = 32;
28 exports.$BANG = 33;
29 exports.$DQ = 34;
30 exports.$HASH = 35;
31 exports.$$ = 36;
32 exports.$PERCENT = 37;
33 exports.$AMPERSAND = 38;
34 exports.$SQ = 39;
35 exports.$LPAREN = 40;
36 exports.$RPAREN = 41;
37 exports.$STAR = 42;
38 exports.$PLUS = 43;
39 exports.$COMMA = 44;
40 exports.$MINUS = 45;
41 exports.$PERIOD = 46;
42 exports.$SLASH = 47;
43 exports.$COLON = 58;
44 exports.$SEMICOLON = 59;
45 exports.$LT = 60;
46 exports.$EQ = 61;
47 exports.$GT = 62;
48 exports.$QUESTION = 63;
49 exports.$0 = 48;
50 exports.$7 = 55;
51 exports.$9 = 57;
52 exports.$A = 65;
53 exports.$E = 69;
54 exports.$F = 70;
55 exports.$X = 88;
56 exports.$Z = 90;
57 exports.$LBRACKET = 91;
58 exports.$BACKSLASH = 92;
59 exports.$RBRACKET = 93;
60 exports.$CARET = 94;
61 exports.$_ = 95;
62 exports.$a = 97;
63 exports.$b = 98;
64 exports.$e = 101;
65 exports.$f = 102;
66 exports.$n = 110;
67 exports.$r = 114;
68 exports.$t = 116;
69 exports.$u = 117;
70 exports.$v = 118;
71 exports.$x = 120;
72 exports.$z = 122;
73 exports.$LBRACE = 123;
74 exports.$BAR = 124;
75 exports.$RBRACE = 125;
76 exports.$NBSP = 160;
77 exports.$PIPE = 124;
78 exports.$TILDA = 126;
79 exports.$AT = 64;
80 exports.$BT = 96;
81 function isWhitespace(code) {
82 return (code >= exports.$TAB && code <= exports.$SPACE) || (code == exports.$NBSP);
83 }
84 exports.isWhitespace = isWhitespace;
85 function isDigit(code) {
86 return exports.$0 <= code && code <= exports.$9;
87 }
88 exports.isDigit = isDigit;
89 function isAsciiLetter(code) {
90 return code >= exports.$a && code <= exports.$z || code >= exports.$A && code <= exports.$Z;
91 }
92 exports.isAsciiLetter = isAsciiLetter;
93 function isAsciiHexDigit(code) {
94 return code >= exports.$a && code <= exports.$f || code >= exports.$A && code <= exports.$F || isDigit(code);
95 }
96 exports.isAsciiHexDigit = isAsciiHexDigit;
97 function isNewLine(code) {
98 return code === exports.$LF || code === exports.$CR;
99 }
100 exports.isNewLine = isNewLine;
101 function isOctalDigit(code) {
102 return exports.$0 <= code && code <= exports.$7;
103 }
104 exports.isOctalDigit = isOctalDigit;
105 function isQuote(code) {
106 return code === exports.$SQ || code === exports.$DQ || code === exports.$BT;
107 }
108 exports.isQuote = isQuote;
109});
110//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21waWxlci9zcmMvY2hhcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOzs7Ozs7Ozs7Ozs7O0lBRVUsUUFBQSxJQUFJLEdBQUcsQ0FBQyxDQUFDO0lBQ1QsUUFBQSxPQUFPLEdBQUcsQ0FBQyxDQUFDO0lBQ1osUUFBQSxJQUFJLEdBQUcsQ0FBQyxDQUFDO0lBQ1QsUUFBQSxHQUFHLEdBQUcsRUFBRSxDQUFDO0lBQ1QsUUFBQSxLQUFLLEdBQUcsRUFBRSxDQUFDO0lBQ1gsUUFBQSxHQUFHLEdBQUcsRUFBRSxDQUFDO0lBQ1QsUUFBQSxHQUFHLEdBQUcsRUFBRSxDQUFDO0lBQ1QsUUFBQSxNQUFNLEdBQUcsRUFBRSxDQUFDO0lBQ1osUUFBQSxLQUFLLEdBQUcsRUFBRSxDQUFDO0lBQ1gsUUFBQSxHQUFHLEdBQUcsRUFBRSxDQUFDO0lBQ1QsUUFBQSxLQUFLLEdBQUcsRUFBRSxDQUFDO0lBQ1gsUUFBQSxFQUFFLEdBQUcsRUFBRSxDQUFDO0lBQ1IsUUFBQSxRQUFRLEdBQUcsRUFBRSxDQUFDO0lBQ2QsUUFBQ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VxuXG5leHBvcnQgZnVuY3Rpb24gaXNRdW90ZShjb2RlOiBudW1iZXIpOiBib29sZWFuIHtcbiAgcmV0dXJuIGNvZGUgPT09ICRTUSB8fCBjb2RlID09PSAkRFEgfHwgY29kZSA9PT0gJEJUO1xufVxuIl19
Note: See TracBrowser for help on using the repository browser.