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

Function _rawTryCatch

deps/v8/tools/clusterfuzz/js_fuzzer/mutators/try_catch.js:54–60  ·  view source on GitHub ↗
(node, catchBlock=[])

Source from the content-addressed store, hash-verified

52}
53
54function _rawTryCatch(node, catchBlock=[]) {
55 return babelTypes.tryStatement(
56 node,
57 babelTypes.catchClause(
58 babelTypes.identifier('e'),
59 babelTypes.blockStatement(catchBlock)));
60}
61
62function wrapTryCatch(node) {
63 return _rawTryCatch(babelTypes.blockStatement([node]));

Callers 2

wrapTryCatchFunction · 0.85
wrapBlockWithTryCatchFunction · 0.85

Calls 1

identifierMethod · 0.45

Tested by

no test coverage detected