Home
last modified time | relevance | path

Searched refs:tokenToString (Results 1 – 20 of 20) sorted by relevance

/third_party/typescript/src/testRunner/unittests/
DpublicApi.ts43 …assert.isDefined(ts.tokenToString(t), `Expected tokenToString defined for ${ts.Debug.formatSyntaxK…
/third_party/typescript/src/compiler/
Dparser.ts2017 parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind));
2042 … parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(SyntaxKind.SemicolonToken));
2134 … parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(SyntaxKind.SemicolonToken));
2147 … parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(SyntaxKind.SemicolonToken));
2159 parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind));
2168 … const lastError = parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(closeKind));
2175 …e_parser_expected_to_find_a_1_to_match_the_0_token_here, tokenToString(openKind), tokenToString(cl…
2207 …AtCurrentPosition*/ false, diagnosticMessage || Diagnostics._0_expected, arg0 || tokenToString(t));
2213 …createMissingNode(t, /*reportAtCurrentPosition*/ false, Diagnostics._0_expected, tokenToString(t));
3087 … ? parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(SyntaxKind.ExportKeyword))
[all …]
Dprogram.ts2424 const interfaceKeyword = tokenToString(SyntaxKind.InterfaceKeyword);
2429 …leKeyword = node.flags & NodeFlags.Namespace ? tokenToString(SyntaxKind.NamespaceKeyword) : tokenT… constant
2437 … const enumKeyword = Debug.checkDefined(tokenToString(SyntaxKind.EnumKeyword));
2491 …ier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)…
2537 …ier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)…
Demitter.ts2554 …return !expression.numericLiteralFlags && !stringContains(text, tokenToString(SyntaxKind.DotToken)…
4701 writer(tokenToString(node.kind)!);
4710 const tokenString = tokenToString(token)!;
Dscanner.ts355 export function tokenToString(t: SyntaxKind): string | undefined { function
Dchecker.ts34337 …operand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(node.operator)…
34341 …ror(node.operand, Diagnostics.Operator_0_cannot_be_applied_to_type_1, tokenToString(node.operator)…
34897 …1_operations_cannot_be_mixed_without_parentheses, tokenToString(left.operatorToken.kind), tokenToS…
34900 …_operations_cannot_be_mixed_without_parentheses, tokenToString(right.operatorToken.kind), tokenToS…
34969 …allowed_for_boolean_types_Consider_using_1_instead, tokenToString(operatorToken.kind), tokenToStri…
35187 …mbolOperand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(operator));
35292 tokenToString(operatorToken.kind),
35320tokenToString(operator === SyntaxKind.EqualsEqualsEqualsToken || operator === SyntaxKind.EqualsEqu…
35322 …EqualsEqualsToken || operator === SyntaxKind.ExclamationEqualsToken ? tokenToString(SyntaxKind.Exc… constant
45057 …ode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_member, tokenToString(modifier.kind)…
[all …]
Dbinder.ts346 … return tokenToString(nameExpression.operator) + nameExpression.operand.text as __String;
Dutilities.ts3507 … return tokenToString(nameExpression.operator) + nameExpression.operand.text as __String;
5473 return createRange(pos, pos + tokenToString(token)!.length);
/third_party/typescript/src/services/
Dutilities.ts1492 const closeTokenText = tokenToString(token.kind)!;
1493 const matchingTokenText = tokenToString(matchingTokenKind)!;
2318 return displayPart(tokenToString(kind)!, SymbolDisplayPartKind.keyword);
2322 return displayPart(tokenToString(kind)!, SymbolDisplayPartKind.punctuation);
2326 return displayPart(tokenToString(kind)!, SymbolDisplayPartKind.operator);
Dcompletions.ts432 name: tokenToString(keyword)!,
1352 …evelTypeOnlyText = importStatementCompletion.isTopLevelTypeOnly ? ` ${tokenToString(SyntaxKind.Typ…
1353 …const importSpecifierTypeOnlyText = isImportSpecifierTypeOnly ? `${tokenToString(SyntaxKind.TypeKe…
4001 name: tokenToString(i)!,
4144 name: tokenToString(SyntaxKind.AssertKeyword)!,
DtextChanges.ts842 …const suffix = `${tokenToString(nextToken.kind)}${sourceFile.text.substring(nextToken.end, startPo…
889 …this.replaceRange(sourceFile, createRange(end), newNode, { prefix: `${tokenToString(separator)} ` …
DfindAllReferences.ts335 const name = tokenToString(node.kind)!;
1512 …return mapDefined(getPossibleSymbolReferenceNodes(sourceFile, tokenToString(keywordKind)!, sourceF…
/third_party/typescript/src/harness/
DfourslashInterfaceImpl.ts1061 name: ts.Debug.checkDefined(ts.tokenToString(i)),
/third_party/typescript/lib/
DtypingsInstaller.js10367 function tokenToString(t) { function
10370 ts.tokenToString = tokenToString;
17888 … return ts.tokenToString(nameExpression.operator) + nameExpression.operand.text;
19697 return createRange(pos, pos + ts.tokenToString(token).length);
33251 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind));
33274 …parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(26 /* SyntaxKind.SemicolonTo…
33351 …parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(26 /* SyntaxKind.SemicolonTo…
33362 …parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(26 /* SyntaxKind.SemicolonTo…
33372 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind));
33380 … var lastError = parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(closeKind));
[all …]
Dtsc.js7453 function tokenToString(t) { function
7456 ts.tokenToString = tokenToString;
14087 … return ts.tokenToString(nameExpression.operator) + nameExpression.operand.text;
15529 return createRange(pos, pos + ts.tokenToString(token).length);
26938 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind));
26951 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(26));
27016 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(26));
27027 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(26));
27037 parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(kind));
27045 … var lastError = parseErrorAtCurrentToken(ts.Diagnostics._0_expected, ts.tokenToString(closeKind));
[all …]
Dtypescript.d.ts4585 function tokenToString(t: SyntaxKind): string | undefined; function
DtypescriptServices.d.ts4585 function tokenToString(t: SyntaxKind): string | undefined; function
Dtsserverlibrary.d.ts4585 function tokenToString(t: SyntaxKind): string | undefined; function
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts4585 function tokenToString(t: SyntaxKind): string | undefined; function
Dtsserverlibrary.d.ts4585 function tokenToString(t: SyntaxKind): string | undefined; function