MCPcopy Index your code
hub / github.com/nodejs/node / isThisInTypeQuery

Function isThisInTypeQuery

test/fixtures/snapshot/typescript.js:18576–18584  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

18574 }
18575 ts.isThisIdentifier = isThisIdentifier;
18576 function isThisInTypeQuery(node) {
18577 if (!isThisIdentifier(node)) {
18578 return false;
18579 }
18580 while (ts.isQualifiedName(node.parent) && node.parent.left === node) {
18581 node = node.parent;
18582 }
18583 return node.parent.kind === 181 /* SyntaxKind.TypeQuery */;
18584 }
18585 ts.isThisInTypeQuery = isThisInTypeQuery;
18586 function identifierIsThisKeyword(id) {
18587 return id.originalKeywordKind === 108 /* SyntaxKind.ThisKeyword */;

Callers

nothing calls this directly

Calls 1

isThisIdentifierFunction · 0.85

Tested by

no test coverage detected