Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
861 B · 43 lines
at lambda-parse
1234567891011121314151617181920212223242526272829303132333435363738394041424344{{# def.definitions }}{{# def.errors }}{{# def.setupKeyword }}{{# def.setupNextLevel }}
{{? {{# def.nonEmptySchema:$schema }} }} {{ $it.schema = $schema; $it.schemaPath = $schemaPath; $it.errSchemaPath = $errSchemaPath; }}
var {{=$errs}} = errors;
{{# def.setCompositeRule }}
{{ $it.createErrors = false; var $allErrorsOption; if ($it.opts.allErrors) { $allErrorsOption = $it.opts.allErrors; $it.opts.allErrors = false; } }} {{= it.validate($it) }} {{ $it.createErrors = true; if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption; }}
{{# def.resetCompositeRule }}
if ({{=$nextValid}}) { {{# def.error:'not' }} } else { {{# def.resetErrors }} {{? it.opts.allErrors }} } {{?}}{{??}} {{# def.addError:'not' }} {{? $breakOnError}} if (false) { {{?}}{{?}}