Searched refs:bestGuessIndex (Results 1 – 5 of 5) sorted by relevance
/third_party/typescript/src/services/ |
D | utilities.ts | 1406 const bestGuessIndex = sourceFile.text.lastIndexOf(matchingTokenText, tokenFullStart); constant 1407 if (bestGuessIndex === -1) { 1411 if (sourceFile.text.lastIndexOf(closeTokenText, tokenFullStart - 1) < bestGuessIndex) { 1412 const nodeAtGuess = findPrecedingToken(bestGuessIndex + 1, sourceFile);
|
/third_party/typescript/lib/ |
D | tsserver.js | 116526 var bestGuessIndex = sourceFile.text.lastIndexOf(matchingTokenText, tokenFullStart); 116527 if (bestGuessIndex === -1) { 116531 if (sourceFile.text.lastIndexOf(closeTokenText, tokenFullStart - 1) < bestGuessIndex) { 116532 var nodeAtGuess = findPrecedingToken(bestGuessIndex + 1, sourceFile);
|
D | typescriptServices.js | 117095 var bestGuessIndex = sourceFile.text.lastIndexOf(matchingTokenText, tokenFullStart); 117096 if (bestGuessIndex === -1) { 117100 if (sourceFile.text.lastIndexOf(closeTokenText, tokenFullStart - 1) < bestGuessIndex) { 117101 var nodeAtGuess = findPrecedingToken(bestGuessIndex + 1, sourceFile);
|
D | tsserverlibrary.js | 117095 var bestGuessIndex = sourceFile.text.lastIndexOf(matchingTokenText, tokenFullStart); 117096 if (bestGuessIndex === -1) { 117100 if (sourceFile.text.lastIndexOf(closeTokenText, tokenFullStart - 1) < bestGuessIndex) { 117101 var nodeAtGuess = findPrecedingToken(bestGuessIndex + 1, sourceFile);
|
D | typescript.js | 117095 var bestGuessIndex = sourceFile.text.lastIndexOf(matchingTokenText, tokenFullStart); 117096 if (bestGuessIndex === -1) { 117100 if (sourceFile.text.lastIndexOf(closeTokenText, tokenFullStart - 1) < bestGuessIndex) { 117101 var nodeAtGuess = findPrecedingToken(bestGuessIndex + 1, sourceFile);
|