MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / dump

Function dump

tools/acorn-optimizer.mjs:107–109  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

105}
106
107function dump(node) {
108 console.log(JSON.stringify(node, null, ' '));
109}
110
111// Traverse a pattern node (identifier, object/array pattern, etc) invoking onExpr on any nested expressions and onBoundIdent on any bound identifiers.
112function walkPattern(node, onExpr, onBoundIdent) {

Callers 1

emitDCEGraphFunction · 0.70

Calls 1

logMethod · 0.80

Tested by

no test coverage detected