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

Method ConvertBreakStatement

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

Source from the content-addressed store, hash-verified

134 }
135
136 static ConvertBreakStatement (n, ctx) {
137 return findOne(ctx.plan, x => fuzzyMatch(n, x[1]), 'Can\'t find the break statement')[0]
138 }
139
140 static ConvertContinueStatement (n, ctx) {
141 return findOne(ctx.plan, x => fuzzyMatch(n, x[1]), 'Can\'t find the continue statement')[0]

Callers

nothing calls this directly

Calls 2

findOneFunction · 0.85
fuzzyMatchFunction · 0.85

Tested by

no test coverage detected