Searched refs:CharacterCodes (Results 1 – 25 of 41) sorted by relevance
12
/third_party/typescript/tests/baselines/reference/ |
D | scannertest1.types | 11 return c >= CharacterCodes._0 && c <= CharacterCodes._9; 12 >c >= CharacterCodes._0 && c <= CharacterCodes._9 : boolean 13 >c >= CharacterCodes._0 : boolean 15 >CharacterCodes._0 : any 16 >CharacterCodes : any 18 >c <= CharacterCodes._9 : boolean 20 >CharacterCodes._9 : any 21 >CharacterCodes : any 30 … || (c >= CharacterCodes.A && c <= CharacterCodes.F) || (c >= Characte… 31 >isDecimalDigit(c) || (c >= CharacterCodes.A && c <= CharacterCodes.F) : any [all …]
|
D | scannertest1.js | 6 return c >= CharacterCodes._0 && c <= CharacterCodes._9; 11 (c >= CharacterCodes.A && c <= CharacterCodes.F) || 12 (c >= CharacterCodes.a && c <= CharacterCodes.f); 18 ? (c - CharacterCodes._0) 19 : (c >= CharacterCodes.A && c <= CharacterCodes.F) 20 ? c - CharacterCodes.A + 10 21 : c - CharacterCodes.a + 10; 33 return c >= CharacterCodes._0 && c <= CharacterCodes._9; 37 (c >= CharacterCodes.A && c <= CharacterCodes.F) || 38 (c >= CharacterCodes.a && c <= CharacterCodes.f); [all …]
|
D | scannertest1.errors.txt | 2 …ormance/scanner/ecmascript5/scannertest1.ts(5,21): error TS2304: Cannot find name 'CharacterCodes'. 3 …ormance/scanner/ecmascript5/scannertest1.ts(5,47): error TS2304: Cannot find name 'CharacterCodes'. 5 …rmance/scanner/ecmascript5/scannertest1.ts(10,22): error TS2304: Cannot find name 'CharacterCodes'. 6 …rmance/scanner/ecmascript5/scannertest1.ts(10,47): error TS2304: Cannot find name 'CharacterCodes'. 7 …rmance/scanner/ecmascript5/scannertest1.ts(11,22): error TS2304: Cannot find name 'CharacterCodes'. 8 …rmance/scanner/ecmascript5/scannertest1.ts(11,47): error TS2304: Cannot find name 'CharacterCodes'. 12 …rmance/scanner/ecmascript5/scannertest1.ts(17,20): error TS2304: Cannot find name 'CharacterCodes'. 13 …rmance/scanner/ecmascript5/scannertest1.ts(18,21): error TS2304: Cannot find name 'CharacterCodes'. 14 …rmance/scanner/ecmascript5/scannertest1.ts(18,46): error TS2304: Cannot find name 'CharacterCodes'. 15 …rmance/scanner/ecmascript5/scannertest1.ts(19,23): error TS2304: Cannot find name 'CharacterCodes'. [all …]
|
D | scannertest1.symbols | 11 return c >= CharacterCodes._0 && c <= CharacterCodes._9; 23 (c >= CharacterCodes.A && c <= CharacterCodes.F) || 27 (c >= CharacterCodes.a && c <= CharacterCodes.f); 42 ? (c - CharacterCodes._0) 45 : (c >= CharacterCodes.A && c <= CharacterCodes.F) 49 ? c - CharacterCodes.A + 10 52 : c - CharacterCodes.a + 10;
|
/third_party/typescript/src/compiler/ |
D | scanner.ts | 364 case CharacterCodes.carriageReturn: 365 if (text.charCodeAt(pos) === CharacterCodes.lineFeed) { 369 case CharacterCodes.lineFeed: 374 if (ch > CharacterCodes.maxAsciiCharacter && isLineBreak(ch)) { 480 return ch === CharacterCodes.space || 481 ch === CharacterCodes.tab || 482 ch === CharacterCodes.verticalTab || 483 ch === CharacterCodes.formFeed || 484 ch === CharacterCodes.nonBreakingSpace || 485 ch === CharacterCodes.nextLine || [all …]
|
D | path.ts | 19 return charCode === CharacterCodes.slash || charCode === CharacterCodes.backslash; 107 return (charCode >= CharacterCodes.a && charCode <= CharacterCodes.z) || 108 (charCode >= CharacterCodes.A && charCode <= CharacterCodes.Z); 113 if (ch0 === CharacterCodes.colon) return start + 1; 114 if (ch0 === CharacterCodes.percent && url.charCodeAt(start + 1) === CharacterCodes._3) { 116 if (ch2 === CharacterCodes.a || ch2 === CharacterCodes.A) return start + 3; 130 if (ch0 === CharacterCodes.slash || ch0 === CharacterCodes.backslash) { 133 …const p1 = path.indexOf(ch0 === CharacterCodes.slash ? directorySeparator : altDirectorySeparator,… 140 if (isVolumeCharacter(ch0) && path.charCodeAt(1) === CharacterCodes.colon) { 142 …if (ch2 === CharacterCodes.slash || ch2 === CharacterCodes.backslash) return 3; // DOS: "c:/" or "… [all …]
|
D | sourcemap.ts | 384 if (ch === CharacterCodes.semicolon) { 392 if (ch === CharacterCodes.comma) { 474 mappings.charCodeAt(pos) === CharacterCodes.comma || 475 mappings.charCodeAt(pos) === CharacterCodes.semicolon); 530 return value >= 0 && value < 26 ? CharacterCodes.A + value : 531 value >= 26 && value < 52 ? CharacterCodes.a + value - 26 : 532 value >= 52 && value < 62 ? CharacterCodes._0 + value - 52 : 533 value === 62 ? CharacterCodes.plus : 534 value === 63 ? CharacterCodes.slash : 539 return ch >= CharacterCodes.A && ch <= CharacterCodes.Z ? ch - CharacterCodes.A : [all …]
|
D | utilities.ts | 617 if (text.charCodeAt(commentPos + 1) === CharacterCodes.slash && 619 text.charCodeAt(commentPos + 2) === CharacterCodes.slash) { 631 return text.charCodeAt(start + 1) === CharacterCodes.asterisk && 632 text.charCodeAt(start + 2) === CharacterCodes.exclamation; 843 return "'" + escapeText(node.text, CharacterCodes.singleQuote) + "'"; 846 return '"' + escapeText(node.text, CharacterCodes.doubleQuote) + '"'; 858 …keNode>node).rawText || escapeTemplateSubstitution(escapeText(node.text, CharacterCodes.backtick)); 876 …return node.text + (node.text.charCodeAt(node.text.length - 1) === CharacterCodes.backslash ? " /"… 1431 text.charCodeAt(comment.pos + 1) === CharacterCodes.asterisk && 1432 text.charCodeAt(comment.pos + 2) === CharacterCodes.asterisk && [all …]
|
D | utilitiesPublic.ts | 473 ….length >= 2 && identifier.charCodeAt(0) === CharacterCodes._ && identifier.charCodeAt(1) === Char… 484 …= 3 && id.charCodeAt(0) === CharacterCodes._ && id.charCodeAt(1) === CharacterCodes._ && id.charCo…
|
D | commandLineParser.ts | 1339 if (s.charCodeAt(0) === CharacterCodes.at) { 1342 else if (s.charCodeAt(0) === CharacterCodes.minus) { 1343 … const inputOptionName = s.slice(s.charCodeAt(1) === CharacterCodes.minus ? 2 : 1); 1374 while (pos < text.length && text.charCodeAt(pos) <= CharacterCodes.space) pos++; 1377 if (text.charCodeAt(start) === CharacterCodes.doubleQuote) { 1379 … while (pos < text.length && text.charCodeAt(pos) !== CharacterCodes.doubleQuote) pos++; 1389 while (text.charCodeAt(pos) > CharacterCodes.space) pos++;
|
/third_party/typescript/src/services/ |
D | patternMatcher.ts | 212 …if (every(segment.totalTextChunk.text, ch => ch !== CharacterCodes.space && ch !== CharacterCodes.… 359 if (ch >= CharacterCodes.A && ch <= CharacterCodes.Z) { 363 … if (ch < CharacterCodes.maxAsciiCharacter || !isUnicodeIdentifierStart(ch, ScriptTarget.Latest)) { 375 if (ch >= CharacterCodes.a && ch <= CharacterCodes.z) { 379 … if (ch < CharacterCodes.maxAsciiCharacter || !isUnicodeIdentifierStart(ch, ScriptTarget.Latest)) { 404 if (ch >= CharacterCodes.A && ch <= CharacterCodes.Z) { 405 return CharacterCodes.a + (ch - CharacterCodes.A); 408 if (ch < CharacterCodes.maxAsciiCharacter) { 419 return ch >= CharacterCodes._0 && ch <= CharacterCodes._9; 423 …r(ch) || isLowerCaseLetter(ch) || isDigit(ch) || ch === CharacterCodes._ || ch === CharacterCodes.… [all …]
|
D | classifier.ts | 207 … while (tokenText.charCodeAt(lastCharIndex - numBackslashes) === CharacterCodes.backslash) { 213 …return tokenText.charCodeAt(0) === CharacterCodes.doubleQuote ? EndOfLineState.InDoubleQuoteString… 663 if (ch === CharacterCodes.lessThan || ch === CharacterCodes.greaterThan) { 670 Debug.assert(ch === CharacterCodes.bar || ch === CharacterCodes.equals);
|
D | services.ts | 2029 if (openingBrace === CharacterCodes.lessThan) { 2041 return openingBrace === CharacterCodes.openBrace; 2049 case CharacterCodes.singleQuote: 2050 case CharacterCodes.doubleQuote: 2051 case CharacterCodes.backtick: 2452 return (char >= CharacterCodes.a && char <= CharacterCodes.z) || 2453 (char >= CharacterCodes.A && char <= CharacterCodes.Z) || 2454 (char >= CharacterCodes._0 && char <= CharacterCodes._9);
|
D | stringCompletions.ts | 720 if (path && path.length >= 2 && path.charCodeAt(0) === CharacterCodes.dot) { 721 … const slashIndex = path.length >= 3 && path.charCodeAt(1) === CharacterCodes.dot ? 2 : 1; 723 … return slashCharCode === CharacterCodes.slash || slashCharCode === CharacterCodes.backslash;
|
D | textChanges.ts | 77 return ch === CharacterCodes.slash; 621 if (sourceFile.text.charCodeAt(after.end - 1) !== CharacterCodes.semicolon) { 1274 …osition < text.length && charCode === CharacterCodes.carriageReturn && text.charCodeAt(position) =…
|
/third_party/typescript/tests/cases/conformance/scanner/ecmascript5/ |
D | scannertest1.ts | 5 return c >= CharacterCodes._0 && c <= CharacterCodes._9; 10 (c >= CharacterCodes.A && c <= CharacterCodes.F) || 11 (c >= CharacterCodes.a && c <= CharacterCodes.f); 17 ? (c - CharacterCodes._0) 18 : (c >= CharacterCodes.A && c <= CharacterCodes.F) 19 ? c - CharacterCodes.A + 10 20 : c - CharacterCodes.a + 10;
|
/third_party/typescript/src/testRunner/unittests/services/extract/ |
D | helpers.ts | 21 if (source.charCodeAt(pos) === CharacterCodes.openBracket && 22 …(source.charCodeAt(pos + 1) === CharacterCodes.hash || source.charCodeAt(pos + 1) === CharacterCod… 28 if (source.charCodeAt(pos) === CharacterCodes.bar) { 32 … ? source.charCodeAt(saved + 1) === CharacterCodes.hash ? "selection" : "extracted" 42 …else if (source.charCodeAt(pos) === CharacterCodes.bar && source.charCodeAt(pos + 1) === Character…
|
/third_party/typescript/src/tsserver/ |
D | nodeServer.ts | 62 if (pathStart.charCodeAt(0) === CharacterCodes.doubleQuote && 63 pathStart.charCodeAt(pathStart.length - 1) !== CharacterCodes.doubleQuote) { 68 … if (pathStart.charCodeAt(pathStart.length - 1) === CharacterCodes.doubleQuote) break; 442 … if (path.charCodeAt(1) === CharacterCodes.colon && path.charCodeAt(2) === CharacterCodes.slash) { 446 … if (path.charCodeAt(0) === CharacterCodes.slash && path.charCodeAt(1) !== CharacterCodes.slash) { 455 …return s.length > 2 && s.charCodeAt(0) === CharacterCodes.slash && s.charCodeAt(1) === CharacterCo…
|
/third_party/typescript/src/jsTyping/ |
D | jsTyping.ts | 327 if (packageName.charCodeAt(0) === CharacterCodes.dot) { 330 if (packageName.charCodeAt(0) === CharacterCodes._) {
|
/third_party/typescript/src/services/codefixes/ |
D | helpers.ts | 281 …eTypeParameterDeclaration(CharacterCodes.T + typeArguments.length - 1 <= CharacterCodes.Z ? String…
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | helpers.ts | 414 if (arg.charCodeAt(0) !== CharacterCodes.minus) return false; 415 … const option = arg.slice(arg.charCodeAt(1) === CharacterCodes.minus ? 2 : 1).toLowerCase();
|
/third_party/typescript/src/harness/ |
D | fourslashImpl.ts | 1664 … if (ch === ts.CharacterCodes.lineFeed || ch === ts.CharacterCodes.carriageReturn) { 1673 … if (ch === ts.CharacterCodes.lineFeed || ch === ts.CharacterCodes.carriageReturn) { 3089 const openBraceMap = new ts.Map(ts.getEntries<ts.CharacterCodes>({ 3090 "(": ts.CharacterCodes.openParen, 3091 "{": ts.CharacterCodes.openBrace, 3092 "[": ts.CharacterCodes.openBracket, 3093 "'": ts.CharacterCodes.singleQuote, 3094 '"': ts.CharacterCodes.doubleQuote, 3095 "`": ts.CharacterCodes.backtick, 3096 "<": ts.CharacterCodes.lessThan [all …]
|
/third_party/typescript/src/services/formatting/ |
D | smartIndenter.ts | 97 … return firstNonWhitespaceCharacterCode === CharacterCodes.asterisk ? column - 1 : column; 539 if (ch === CharacterCodes.tab) {
|
/third_party/typescript/src/executeCommandLine/ |
D | executeCommandLine.ts | 379 … if (commandLineArgs.length > 0 && commandLineArgs[0].charCodeAt(0) === CharacterCodes.minus) { 380 …tion = commandLineArgs[0].slice(commandLineArgs[0].charCodeAt(1) === CharacterCodes.minus ? 2 : 1)…
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 5053 var CharacterCodes; 5054 (function (CharacterCodes) { argument 5055 CharacterCodes[CharacterCodes["nullCharacter"] = 0] = "nullCharacter"; 5056 CharacterCodes[CharacterCodes["maxAsciiCharacter"] = 127] = "maxAsciiCharacter"; 5057 CharacterCodes[CharacterCodes["lineFeed"] = 10] = "lineFeed"; 5058 CharacterCodes[CharacterCodes["carriageReturn"] = 13] = "carriageReturn"; 5059 CharacterCodes[CharacterCodes["lineSeparator"] = 8232] = "lineSeparator"; 5060 CharacterCodes[CharacterCodes["paragraphSeparator"] = 8233] = "paragraphSeparator"; 5061 CharacterCodes[CharacterCodes["nextLine"] = 133] = "nextLine"; 5063 CharacterCodes[CharacterCodes["space"] = 32] = "space"; [all …]
|
12