MCPcopy Create free account
hub / github.com/codecombat/codecombat / ConvertBlockStatement

Method ConvertBlockStatement

app/lib/code-to-blocks.js:128–130  ·  view source on GitHub ↗
(n, ctx)

Source from the content-addressed store, hash-verified

126 }
127
128 static ConvertBlockStatement (n, ctx) {
129 return convert(n.body, { ...ctx, context: 'statement' })
130 }
131
132 static ConvertExpressionStatement (n, ctx) {
133 return convert(n.expression, { ...ctx, context: 'statement' })

Callers

nothing calls this directly

Calls 1

convertFunction · 0.85

Tested by

no test coverage detected