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

Function skipParentheses

test/fixtures/snapshot/typescript.js:17171–17176  ·  view source on GitHub ↗
(node, excludeJSDocTypeAssertions)

Source from the content-addressed store, hash-verified

17169 }
17170 ts.walkUpParenthesizedTypesAndGetParentAndChild = walkUpParenthesizedTypesAndGetParentAndChild;
17171 function skipParentheses(node, excludeJSDocTypeAssertions) {
17172 var flags = excludeJSDocTypeAssertions ?
17173 1 /* OuterExpressionKinds.Parentheses */ | 16 /* OuterExpressionKinds.ExcludeJSDocTypeAssertion */ :
17174 1 /* OuterExpressionKinds.Parentheses */;
17175 return ts.skipOuterExpressions(node, flags);
17176 }
17177 ts.skipParentheses = skipParentheses;
17178 // a node is delete target iff. it is PropertyAccessExpression/ElementAccessExpression with parentheses skipped
17179 function isDeleteTarget(node) {

Callers 3

getExpandoInitializerFunction · 0.85
isDynamicNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…