Searched refs:isInComment (Results 1 – 6 of 6) sorted by relevance
/third_party/typescript/src/services/ |
D | services.ts | 1782 return !isInComment(sourceFile, position); 2077 if (!isInComment(sourceFile, position)) { 2180 return !isInComment(sourceFile, position); 2297 const commentRange = isInComment(sourceFile, pos + offset); 2328 … if (isInComment(sourceFile, textRange.pos)?.kind !== SyntaxKind.SingleLineCommentTrivia) { 2420 const commentRange = isInComment(sourceFile, i); 2501 if (!isInComment(sourceFile, matchPosition)) {
|
D | outliningElementsCollector.ts | 86 if (!result || isInComment(sourceFile, currentLineStart)) {
|
D | signatureHelp.ts | 37 …SyntacticOwners && (isInString(sourceFile, position, startingToken) || isInComment(sourceFile, pos…
|
D | utilities.ts | 1673 …export function isInComment(sourceFile: SourceFile, position: number, tokenAtPosition?: Node): Com… function 1797 const range = isInComment(sourceFile, position, /*tokenAtPosition*/ undefined);
|
D | textChanges.ts | 1422 …return !isInComment(sourceFile, position) && !isInString(sourceFile, position) && !isInTemplateStr…
|
D | completions.ts | 1944 const insideComment = isInComment(sourceFile, position, currentToken);
|