/third_party/typescript/src/testRunner/unittests/ |
D | publicApi.ts | 38 …assert.isDefined(ts.tokenToString(t), `Expected tokenToString defined for ${ts.Debug.formatSyntaxK…
|
/third_party/typescript_eslint/packages/typescript-estree/src/ |
D | node-utils.ts | 118 return ts.tokenToString(kind) as T extends keyof TokenToText
|
/third_party/typescript/src/services/ |
D | utilities.ts | 1401 const closeTokenText = tokenToString(token.kind)!; 1402 const matchingTokenText = tokenToString(matchingTokenKind)!; 2162 return displayPart(tokenToString(kind)!, SymbolDisplayPartKind.keyword); 2166 return displayPart(tokenToString(kind)!, SymbolDisplayPartKind.punctuation); 2170 return displayPart(tokenToString(kind)!, SymbolDisplayPartKind.operator);
|
D | textChanges.ts | 762 …const suffix = `${tokenToString(nextToken.kind)}${sourceFile.text.substring(nextToken.end, contain… 809 …this.replaceRange(sourceFile, createRange(end), newNode, { prefix: `${tokenToString(separator)} ` …
|
D | findAllReferences.ts | 324 const name = tokenToString(node.kind)!; 1426 …return mapDefined(getPossibleSymbolReferenceNodes(sourceFile, tokenToString(keywordKind)!, sourceF…
|
D | completions.ts | 2731 name: tokenToString(i)!,
|
/third_party/typescript/src/compiler/ |
D | program.ts | 2054 const interfaceKeyword = tokenToString(SyntaxKind.InterfaceKeyword); 2059 …leKeyword = node.flags & NodeFlags.Namespace ? tokenToString(SyntaxKind.NamespaceKeyword) : tokenT… constant 2067 … const enumKeyword = Debug.checkDefined(tokenToString(SyntaxKind.EnumKeyword)); 2116 …ier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)… 2159 …ier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)…
|
D | parser.ts | 1626 parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind)); 1636 parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind)); 1667 …AtCurrentPosition*/ false, diagnosticMessage || Diagnostics._0_expected, arg0 || tokenToString(t)); 1673 …createMissingNode(t, /*reportAtCurrentPosition*/ false, Diagnostics._0_expected, tokenToString(t)); 2549 …tCurrentToken(Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, tokenToString(token())) 2791 …>parseExpectedToken(SyntaxKind.TemplateTail, Diagnostics._0_expected, tokenToString(SyntaxKind.Clo… 3169 … parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(SyntaxKind.ColonToken)); 4594 …entifier, /*reportAtCurrentPosition*/ false, Diagnostics._0_expected, tokenToString(SyntaxKind.Col… 4772 …ntiation_expression_Consider_enclosing_the_expression_in_parentheses, tokenToString(unaryOperator)…
|
D | emitter.ts | 2412 …return !expression.numericLiteralFlags && !stringContains(text, tokenToString(SyntaxKind.DotToken)… 4371 writer(tokenToString(node.kind)!); 4380 const tokenString = tokenToString(token)!;
|
D | scanner.ts | 346 export function tokenToString(t: SyntaxKind): string | undefined { function
|
D | checker.ts | 30657 …operand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(node.operator)… 30661 …ror(node.operand, Diagnostics.Operator_0_cannot_be_applied_to_type_1, tokenToString(node.operator)… 31156 …1_operations_cannot_be_mixed_without_parentheses, tokenToString(left.operatorToken.kind), tokenToS… 31159 …_operations_cannot_be_mixed_without_parentheses, tokenToString(right.operatorToken.kind), tokenToS… 31228 …allowed_for_boolean_types_Consider_using_1_instead, tokenToString(operatorToken.kind), tokenToStri… 31441 …mbolOperand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(operator)); 31534 tokenToString(operatorToken.kind), 39968 …ode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_member, tokenToString(modifier.kind)… 39971 …odifier, Diagnostics._0_modifier_cannot_appear_on_an_index_signature, tokenToString(modifier.kind)… 39977 …rorOnNode(node, Diagnostics.A_class_member_cannot_have_the_0_keyword, tokenToString(SyntaxKind.Con… [all …]
|
D | utilities.ts | 3438 … return tokenToString(nameExpression.operator) + nameExpression.operand.text as __String; 5467 return createRange(pos, pos + tokenToString(token)!.length);
|
D | binder.ts | 345 … return tokenToString(nameExpression.operator) + nameExpression.operand.text as __String;
|
/third_party/typescript/src/harness/ |
D | fourslashInterfaceImpl.ts | 995 name: ts.Debug.checkDefined(ts.tokenToString(i)),
|
/third_party/typescript/lib/ |
D | tsc.js | 6630 function tokenToString(t) { function 6633 ts.tokenToString = tokenToString; 12812 … return ts.tokenToString(nameExpression.operator) + nameExpression.operand.text; 14287 return createRange(pos, pos + ts.tokenToString(token).length); 23820 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 23829 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 23853 …issingNode(t, false, diagnosticMessage || ts.Diagnostics._0_expected, arg0 || ts.tokenToString(t)); 23857 createMissingNode(t, false, ts.Diagnostics._0_expected, ts.tokenToString(t)); 24450 …ntToken(ts.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, ts.tokenToString(token())) 24593 return parseExpectedToken(17, ts.Diagnostics._0_expected, ts.tokenToString(19)); [all …]
|
D | typingsInstaller.js | 9370 function tokenToString(t) { function 9373 ts.tokenToString = tokenToString; 16406 … return ts.tokenToString(nameExpression.operator) + nameExpression.operand.text; 18244 return createRange(pos, pos + ts.tokenToString(token).length); 29508 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29517 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29541 …entPosition*/ false, diagnosticMessage || ts.Diagnostics._0_expected, arg0 || ts.tokenToString(t)); 29545 …MissingNode(t, /*reportAtCurrentPosition*/ false, ts.Diagnostics._0_expected, ts.tokenToString(t)); 30286 …ntToken(ts.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, ts.tokenToString(token())) 30472 …seExpectedToken(17 /* TemplateTail */, ts.Diagnostics._0_expected, ts.tokenToString(19 /* CloseBra… [all …]
|
D | tsserverlibrary.js | 9575 function tokenToString(t) { function 9578 ts.tokenToString = tokenToString; 16611 … return ts.tokenToString(nameExpression.operator) + nameExpression.operand.text; 18449 return createRange(pos, pos + ts.tokenToString(token).length); 29713 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29722 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29746 …entPosition*/ false, diagnosticMessage || ts.Diagnostics._0_expected, arg0 || ts.tokenToString(t)); 29750 …MissingNode(t, /*reportAtCurrentPosition*/ false, ts.Diagnostics._0_expected, ts.tokenToString(t)); 30491 …ntToken(ts.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, ts.tokenToString(token())) 30677 …seExpectedToken(17 /* TemplateTail */, ts.Diagnostics._0_expected, ts.tokenToString(19 /* CloseBra… [all …]
|
D | typescript.js | 9575 function tokenToString(t) { function 9578 ts.tokenToString = tokenToString; 16611 … return ts.tokenToString(nameExpression.operator) + nameExpression.operand.text; 18449 return createRange(pos, pos + ts.tokenToString(token).length); 29713 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29722 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29746 …entPosition*/ false, diagnosticMessage || ts.Diagnostics._0_expected, arg0 || ts.tokenToString(t)); 29750 …MissingNode(t, /*reportAtCurrentPosition*/ false, ts.Diagnostics._0_expected, ts.tokenToString(t)); 30491 …ntToken(ts.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, ts.tokenToString(token())) 30677 …seExpectedToken(17 /* TemplateTail */, ts.Diagnostics._0_expected, ts.tokenToString(19 /* CloseBra… [all …]
|
D | tsserver.js | 9381 function tokenToString(t) { function 9384 ts.tokenToString = tokenToString; 16417 … return ts.tokenToString(nameExpression.operator) + nameExpression.operand.text; 18255 return createRange(pos, pos + ts.tokenToString(token).length); 29519 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29528 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29552 …entPosition*/ false, diagnosticMessage || ts.Diagnostics._0_expected, arg0 || ts.tokenToString(t)); 29556 …MissingNode(t, /*reportAtCurrentPosition*/ false, ts.Diagnostics._0_expected, ts.tokenToString(t)); 30297 …ntToken(ts.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, ts.tokenToString(token())) 30483 …seExpectedToken(17 /* TemplateTail */, ts.Diagnostics._0_expected, ts.tokenToString(19 /* CloseBra… [all …]
|
D | typescriptServices.js | 9575 function tokenToString(t) { function 9578 ts.tokenToString = tokenToString; 16611 … return ts.tokenToString(nameExpression.operator) + nameExpression.operand.text; 18449 return createRange(pos, pos + ts.tokenToString(token).length); 29713 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29722 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind)); 29746 …entPosition*/ false, diagnosticMessage || ts.Diagnostics._0_expected, arg0 || ts.tokenToString(t)); 29750 …MissingNode(t, /*reportAtCurrentPosition*/ false, ts.Diagnostics._0_expected, ts.tokenToString(t)); 30491 …ntToken(ts.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, ts.tokenToString(token())) 30677 …seExpectedToken(17 /* TemplateTail */, ts.Diagnostics._0_expected, ts.tokenToString(19 /* CloseBra… [all …]
|
D | typescriptServices.d.ts | 4025 function tokenToString(t: SyntaxKind): string | undefined; function
|
D | typescript.d.ts | 4025 function tokenToString(t: SyntaxKind): string | undefined; function
|
D | tsserverlibrary.d.ts | 4025 function tokenToString(t: SyntaxKind): string | undefined; function
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 4105 function tokenToString(t: SyntaxKind): string | undefined; function
|
D | tsserverlibrary.d.ts | 4105 function tokenToString(t: SyntaxKind): string | undefined; function
|