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

Function getThisParameterFromNodeContext

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

Source from the content-addressed store, hash-verified

74459 return undefined;
74460 }
74461 function getThisParameterFromNodeContext(node) {
74462 var thisContainer = ts.getThisContainer(node, /* includeArrowFunctions */ false);
74463 return thisContainer && ts.isFunctionLike(thisContainer) ? ts.getThisParameter(thisContainer) : undefined;
74464 }
74465 function symbolHasNonMethodDeclaration(symbol) {
74466 return !!forEachProperty(symbol, function (prop) { return !(prop.flags & 8192 /* SymbolFlags.Method */); });
74467 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected