MCPcopy Create free account
hub / github.com/json-editor/json-editor / render

Method render

docs/scripts/ajv-validator.js:979–983  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

977 this.to = to;
978 }
979 render(opts) {
980 const varKind = opts.es5 ? scope_1.varKinds.var : this.varKind;
981 const { name, from, to } = this;
982 return `for(${varKind} ${name}=${from}; ${name}<${to}; ${name}++)` + super.render(opts);
983 }
984 get names() {
985 const names = addExprNames(super.names, this.from);
986 return addExprNames(names, this.to);

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected