MCPcopy Create free account
hub / github.com/nodejs/node / writeOrReadWrite

Function writeOrReadWrite

test/fixtures/snapshot/typescript.js:19612–19615  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19610 return 0 /* AccessKind.Read */;
19611 }
19612 function writeOrReadWrite() {
19613 // If grandparent is not an ExpressionStatement, this is used as an expression in addition to having a side effect.
19614 return parent.parent && walkUpParenthesizedExpressions(parent.parent).kind === 238 /* SyntaxKind.ExpressionStatement */ ? 1 /* AccessKind.Write */ : 2 /* AccessKind.ReadWrite */;
19615 }
19616 }
19617 function reverseAccessKind(a) {
19618 switch (a) {

Callers 1

accessKindFunction · 0.85

Calls 1

Tested by

no test coverage detected