MCPcopy
hub / github.com/ajv-validator/ajv / break

Method break

lib/compile/codegen/index.ts:661–663  ·  view source on GitHub ↗
(label?: Code)

Source from the content-addressed store, hash-verified

659
660 // `break` statement
661 break(label?: Code): CodeGen {
662 return this._leafNode(new Break(label))
663 }
664
665 // `return` statement
666 return(value: Block | SafeExpr): CodeGen {

Callers 15

validateArrayFunction · 0.80
codeFunction · 0.80
validatePropertiesFunction · 0.80
validateItemsFunction · 0.80
codeFunction · 0.80
checkLimitsFunction · 0.80
additionalPropertyCodeFunction · 0.80
loopUntilMissingFunction · 0.80
loopNFunction · 0.80
loopN2Function · 0.80
loopEnumFunction · 0.80
unevaluatedPropCodeFunction · 0.80

Calls 1

_leafNodeMethod · 0.95

Tested by

no test coverage detected