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

Method ConvertExpressionStatement

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

Source from the content-addressed store, hash-verified

130 }
131
132 static ConvertExpressionStatement (n, ctx) {
133 return convert(n.expression, { ...ctx, context: 'statement' })
134 }
135
136 static ConvertBreakStatement (n, ctx) {
137 return findOne(ctx.plan, x => fuzzyMatch(n, x[1]), 'Can\'t find the break statement')[0]

Callers

nothing calls this directly

Calls 1

convertFunction · 0.85

Tested by

no test coverage detected