MCPcopy Create free account
hub / github.com/dop251/goja / compileArrayAssignmentPattern

Method compileArrayAssignmentPattern

compiler_expr.go:3271–3277  ·  view source on GitHub ↗
(v *ast.ArrayPattern)

Source from the content-addressed store, hash-verified

3269}
3270
3271func (c *compiler) compileArrayAssignmentPattern(v *ast.ArrayPattern) compiledExpr {
3272 r := &compiledArrayAssignmentPattern{
3273 expr: v,
3274 }
3275 r.init(c, v.Idx0())
3276 return r
3277}
3278
3279func (e *compiledArrayAssignmentPattern) emitGetter(putOnStack bool) {
3280 if putOnStack {

Callers 1

compileExpressionMethod · 0.95

Calls 2

initMethod · 0.65
Idx0Method · 0.65

Tested by

no test coverage detected