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

Function setContextFlag

test/fixtures/snapshot/typescript.js:31849–31856  ·  view source on GitHub ↗
(val, flag)

Source from the content-addressed store, hash-verified

31847 }
31848 }
31849 function setContextFlag(val, flag) {
31850 if (val) {
31851 contextFlags |= flag;
31852 }
31853 else {
31854 contextFlags &= ~flag;
31855 }
31856 }
31857 function setDisallowInContext(val) {
31858 setContextFlag(val, 4096 /* NodeFlags.DisallowInContext */);
31859 }

Callers 8

setDisallowInContextFunction · 0.85
setYieldContextFunction · 0.85
setDecoratorContextFunction · 0.85
setAwaitContextFunction · 0.85
doOutsideOfContextFunction · 0.85
doInsideOfContextFunction · 0.85
transformSourceFileFunction · 0.85
doWithContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected