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

Method endIf

lib/compile/codegen/index.ts:590–592  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

588
589 // end `if` statement (needed if gen.if was used only with condition)
590 endIf(): CodeGen {
591 return this._endBlockNode(If, Else)
592 }
593
594 private _for(node: For, forBody?: Block): CodeGen {
595 this._blockNode(node)

Callers 15

codeFunction · 0.80
validateMappingFunction · 0.80
codeFunction · 0.80
validateDiscriminatorFunction · 0.80
validateMappingFunction · 0.80
codeFunction · 0.80
ifMethod · 0.80
coerceDataFunction · 0.80
groupKeywordsFunction · 0.80
failResultMethod · 0.80
failMethod · 0.80
serializeDiscriminatorFunction · 0.80

Calls 1

_endBlockNodeMethod · 0.95

Tested by

no test coverage detected