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

Function isSelfTypeAccess

test/fixtures/snapshot/typescript.js:75114–75117  ·  view source on GitHub ↗
(name, parent)

Source from the content-addressed store, hash-verified

75112 (ts.getCheckFlags(prop) & 1 /* CheckFlags.Instantiated */ ? getSymbolLinks(prop).target : prop).isReferenced = 67108863 /* SymbolFlags.All */;
75113 }
75114 function isSelfTypeAccess(name, parent) {
75115 return name.kind === 108 /* SyntaxKind.ThisKeyword */
75116 || !!parent && ts.isEntityNameExpression(name) && parent === getResolvedSymbol(ts.getFirstIdentifier(name));
75117 }
75118 function isValidPropertyAccess(node, propertyName) {
75119 switch (node.kind) {
75120 case 206 /* SyntaxKind.PropertyAccessExpression */:

Calls 1

getResolvedSymbolFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…