Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ AssignmentPattern
Function
AssignmentPattern
tools/acorn-optimizer.mjs:114–117 ·
view source on GitHub ↗
(node, c)
Source
from the content-addressed store, hash-verified
112
function
walkPattern(node, onExpr, onBoundIdent) {
113
recursiveWalk(node, {
114
AssignmentPattern(node, c) {
115
c(node.left);
116
onExpr(node.right);
117
},
118
Property(node, c) {
119
if
(node.computed) {
120
onExpr(node.key);
Callers
nothing calls this directly
Calls
1
c
Function · 0.50
Tested by
no test coverage detected