id
int64
0
1.29M
original_id
stringlengths
32
32
swhid
stringlengths
100
170
sha1
stringlengths
40
40
repo_name
stringlengths
2
45
repo_group
stringclasses
12 values
filepath
stringlengths
5
153
name
stringlengths
1
14.9k
type
stringclasses
3 values
code
stringlengths
7
2.12M
1,285,500
bca39f9939d6466f44ec2baef3237a41
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=604-607/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::_blockNode
function
_blockNode(node) { this._currNode.nodes.push(node); this._nodes.push(node); }
1,285,501
86b08092f9d89bd8e3f8d72f9452e055
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=616-623/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::_elseNode
function
_elseNode(node) { const n = this._currNode; if (!(n instanceof If)) { throw new Error('CodeGen: "else" without "if"'); } this._currNode = n.else = node; return this; }
1,285,502
ed4f0110d6e12a64215d0a0a927404b0
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=85-88/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
AssignOp::constructor
function
constructor(lhs, op, rhs, sideEffects) { super(lhs, rhs, sideEffects); this.op = op; }
1,285,503
015994784b49361938a2d76e8238a610
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=109-112/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Break::render
function
render({ _n }) { const label = this.label ? ` ${this.label}` : ""; return `break${label};` + _n; }
1,285,504
8ff4d675022b1e5cd4506f1e4b73afdf
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=122-124/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Throw::names
function
get names() { return this.error.names; }
1,285,505
ceed66e3808378da7bca4efd81bb823d
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=167-179/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
ParentNode::optimizeNames
function
optimizeNames(names, constants) { const { nodes } = this; let i = nodes.length; while (i--) { // iterating backwards improves 1-pass optimization const n = nodes[i]; if (n.optimizeNames(names, constants)) continue; subtractNames(nam...
1,285,506
6741a0af8a5a0d32f7baf4b9945bd240
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=226-233/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
If::optimizeNames
function
optimizeNames(names, constants) { var _a; this.else = (_a = this.else) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants); if (!(super.optimizeNames(names, constants) || this.else)) return; this.condition = optimizeExpr(this.condition, names, constants); ...
1,285,507
5f8bdb3f3d95ef269532b33cc89b6d32
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=290-292/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
ForIter::render
function
render(opts) { return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(opts); }
1,285,508
a96f0b438ebdbf7abfe9594cccd297d6
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=283-289/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
ForIter::constructor
function
constructor(loop, varKind, name, iterable) { super(); this.loop = loop; this.varKind = varKind; this.name = name; this.iterable = iterable; }
1,285,509
52ba9641f8c6f4e4683425249b8968c0
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=331-337/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Try::optimizeNodes
function
optimizeNodes() { var _a, _b; super.optimizeNodes(); (_a = this.catch) === null || _a === void 0 ? void 0 : _a.optimizeNodes(); (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNodes(); return this; }
1,285,510
dd40cda5026c8c3c719934b8c6e0cc3c
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=409-415/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::_def
function
_def(varKind, nameOrPrefix, rhs, constant) { const name = this._scope.toName(nameOrPrefix); if (rhs !== undefined && constant) this._constants[name.str] = rhs; this._leafNode(new Def(varKind, name, rhs)); return name; }
1,285,511
0d8640ee651fbf36289b6246417fb423
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=265-271/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
ForRange::constructor
function
constructor(varKind, name, from, to) { super(); this.varKind = varKind; this.name = name; this.from = from; this.to = to; }
1,285,512
4e933b7c6f38c3da394b5c12b4f6a70c
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=70-72/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Assign::render
function
render({ _n }) { return `${this.lhs} = ${this.rhs};` + _n; }
1,285,513
12004132c14005ee3a784b9980939abe
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=94-98/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Label::constructor
function
constructor(label) { super(); this.label = label; this.names = {}; }
1,285,514
371d20df318971b994b4f2865d7076c8
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=310-313/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Func::render
function
render(opts) { const _async = this.async ? "async " : ""; return `${_async}function ${this.name}(${this.args})` + super.render(opts); }
1,285,515
1748a04226651bfb0c16b090aef5313e
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=491-494/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::for
function
// a generic `for` clause (or statement if `forBody` is passed) for(iteration, forBody) { return this._for(new ForLoop(iteration), forBody); }
1,285,516
83910dca947b79a01335749f35a585c5
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=521-524/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::endFor
function
// end `for` loop endFor() { return this._endBlockNode(For); }
1,285,517
ad325f8b736f4de6fb1ab8b19e5fb606
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=150-152/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
ParentNode::render
function
render(opts) { return this.nodes.reduce((code, n) => code + n.render(opts), ""); }
1,285,518
445ebdba2427e6c39f7e57e04c13c605
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=299-301/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
ForIter::names
function
get names() { return addNames(super.names, this.iterable.names); }
1,285,519
24ca03a2ecacce0f7beafffe49f3faa3
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=420-423/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::let
function
// `let` declaration with optional assignment (`var` in es5 mode) let(nameOrPrefix, rhs, _constant) { return this._def(scope_1.varKinds.let, nameOrPrefix, rhs, _constant); }
1,285,520
09dfde9c6803beddfe3b8c158cd76045
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=444-458/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::object
function
// returns code for object literal for the passed argument list of key-value pairs object(...keyValues) { const code = ["{"]; for (const [key, value] of keyValues) { if (code.length > 1) code.push(","); code.push(key); if (key !== value || this.opt...
1,285,521
fa70d3182ff3068b0fa381f414578f62
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=387-390/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::scopeName
function
// reserves unique name in the external scope scopeName(prefix) { return this._extScope.name(prefix); }
1,285,522
4c5b5fd47c1c3e41b5c65b354d2fe497
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=675-677/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
not
function
function not(x) { return typeof x == "boolean" || typeof x == "number" || x === null ? !x : (0, code_1._) `!${par(x)}`; }
1,285,523
3248b611fde516b0795062f271113697
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=99-101/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Label::render
function
render({ _n }) { return `${this.label}:` + _n; }
1,285,524
90eb3447ba69db3ba85086a6c455f76a
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=137-140/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
AnyCode::optimizeNames
function
optimizeNames(names, constants) { this.code = optimizeExpr(this.code, names, constants); return this; }
1,285,525
00bc628f02104669a637cf26e7e7c3b9
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=141-143/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
AnyCode::names
function
get names() { return this.code instanceof code_1._CodeOrName ? this.code.names : {}; }
1,285,526
cc2d0fe07d16c6ba8b2d8ffe48465c85
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=317-319/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Return::render
function
render(opts) { return "return " + super.render(opts); }
1,285,527
2dc830fc2ae29be6fb46a45fbfd3fd6e
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=533-541/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::return
function
// `return` statement return(value) { const node = new Return(); this._blockNode(node); this.code(value); if (node.nodes.length !== 1) throw new Error('CodeGen: "return" should have one node'); return this._endBlockNode(Return); }
1,285,528
327d0915d3956f89ab111023ee214eb8
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=542-559/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::try
function
// `try` statement try(tryBody, catchCode, finallyCode) { if (!catchCode && !finallyCode) throw new Error('CodeGen: "try" without "catch" and "finally"'); const node = new Try(); this._blockNode(node); this.code(tryBody); if (catchCode) { const error =...
1,285,529
0c74cd632e1b5cc79c26dd00f6498e9b
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-35/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Node::optimizeNodes
function
optimizeNodes() { return this; }
1,285,530
12004132c14005ee3a784b9980939abe
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=104-108/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Break::constructor
function
constructor(label) { super(); this.label = label; this.names = {}; }
1,285,531
5f2ed52d6e13591158ea1fd544603973
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=529-532/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::break
function
// `break` statement break(label) { return this._leafNode(new Break(label)); }
1,285,532
c03817d54eaed36f31ced1e02df54b45
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=691-693/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
mappend
function
function mappend(op) { return (x, y) => (x === code_1.nil ? y : y === code_1.nil ? x : (0, code_1._) `${par(x)} ${op} ${par(y)}`); }
1,285,533
21f908b1a339a4f3355c2e4edd27d2e3
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=424-427/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::var
function
// `var` declaration with optional assignment var(nameOrPrefix, rhs, _constant) { return this._def(scope_1.varKinds.var, nameOrPrefix, rhs, _constant); }
1,285,534
2cd6889e479a4fa361e665bac3a737b5
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=338-344/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Try::optimizeNames
function
optimizeNames(names, constants) { var _a, _b; super.optimizeNames(names, constants); (_a = this.catch) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants); (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNames(names, constants); return this...
1,285,535
ed84981beb5677ba246f041cc8c44a7d
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=459-472/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
CodeGen::if
function
// `if` clause (or statement if `thenBody` and, optionally, `elseBody` are passed) if(condition, thenBody, elseBody) { this._blockNode(new If(condition)); if (thenBody && elseBody) { this.code(thenBody).else().code(elseBody).endIf(); } else if (thenBody) { thi...
1,285,536
f44f787bc0cb4489c6f60fdd69a2c479
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=64-69/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
Assign::constructor
function
constructor(lhs, rhs, sideEffects) { super(); this.lhs = lhs; this.rhs = rhs; this.sideEffects = sideEffects; }
1,285,537
6b9d22371e2ee2840c24e7ddeab68749
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=254-259/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
ForLoop::optimizeNames
function
optimizeNames(names, constants) { if (!super.optimizeNames(names, constants)) return; this.iteration = optimizeExpr(this.iteration, names, constants); return this; }
1,285,538
b4024285bd6191c1fea073bca0b7f860
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=272-276/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
ForRange::render
function
render(opts) { const varKind = opts.es5 ? scope_1.varKinds.var : this.varKind; const { name, from, to } = this; return `for(${varKind} ${name}=${from}; ${name}<${to}; ${name}++)` + super.render(opts); }
1,285,539
848cacde90f73c0732994fab61f54f04
swh:1:cnt:a6c805af14539cf6180f2536992ce13a8a4d0615;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=637-641/
3254b299acfa250342e2bdf0d5cc447af4cf55ab
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/index.js
addNames
function
function addNames(names, from) { for (const n in from) names[n] = (names[n] || 0) + (from[n] || 0); return names; }
1,285,540
a83008b36fb3461c61d07da50acd4ed9
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=2-5/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
NameGroup
type
interface NameGroup { prefix: string; index: number; }
1,285,541
62b63ef409305441d6b3a71e18ca1e28
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-10/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
NameValue
type
interface NameValue { ref: ValueReference; key?: unknown; code?: Code; }
1,285,542
33df332e9e2b9bc9a9dcf85b4b8d8105
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-20/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ValueScopeOptions
type
interface ValueScopeOptions extends ScopeOptions { scope: ScopeStore; es5?: boolean; lines?: boolean; }
1,285,543
9656e327193c099f73e4a2a1effa1e52
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=12-15/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ScopeOptions
type
interface ScopeOptions { prefixes?: Set<string>; parent?: Scope; }
1,285,544
0eedaba062d9ed3b0df5ac1cab9548a2
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-11/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ValueReference
type
type ValueReference = unknown;
1,285,545
319d1e8ba02086351c87719c653f38fb
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-21/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ScopeStore
type
type ScopeStore = Record<string, ValueReference[] | undefined>;
1,285,546
3c783dd392e81e485de623ebb99f9680
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-24/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ScopeValues
type
type ScopeValues = { [Prefix in string]?: Map<unknown, ValueScopeName>; };
1,285,547
4bd9002619e3de9fd966e291e8490e79
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=25-27/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ScopeValueSets
type
type ScopeValueSets = { [Prefix in string]?: Set<ValueScopeName>; };
1,285,548
0c9f6526e66501d43cb0b9ff919cdf1d
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-31/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
UsedValueState
type
enum UsedValueState { Started = 0, Completed = 1 }
1,285,549
50642c6aedcef3a08a246131e5d6a8ff
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-34/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
UsedScopeValues
type
type UsedScopeValues = { [Prefix in string]?: Map<ValueScopeName, UsedValueState | undefined>; };
1,285,550
cbb83189f63ed92631b8528fed576a96
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=52-55/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ScopePath
type
interface ScopePath { property: string; itemIndex: number; }
1,285,551
471a553086694c6b4e4ea5b5725c2f96
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=66-78/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ValueScope
type
class ValueScope extends Scope { protected readonly _values: ScopeValues; protected readonly _scope: ScopeStore; readonly opts: VSOptions; constructor(opts: ValueScopeOptions); get(): ScopeStore; name(prefix: string): ValueScopeName; value(nameOrPrefix: ValueScopeName | string, value: NameVa...
1,285,552
3b9a9b115a7f34ddab3b7e5b06f2e21a
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=56-62/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
ValueScopeName
type
class ValueScopeName extends Name { readonly prefix: string; value?: NameValue; scopePath?: Code; constructor(prefix: string, nameStr: string); setValue(value: NameValue, { property, itemIndex }: ScopePath): void; }
1,285,553
199e69489bda28a440c6e50cbaccc83f
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-65/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
VSOptions
type
interface VSOptions extends ValueScopeOptions { _n: Code; }
1,285,554
cf1283543fd3950230d601c2624b7de4
swh:1:cnt:3d953053877f1a646c763426c51b3ca2fe113cb0;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=40-51/
2dec639bdcb9318bfeddc50d67fe0e4c12561f00
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.d.ts
Scope
type
class Scope { protected readonly _names: { [Prefix in string]?: NameGroup; }; protected readonly _prefixes?: Set<string>; protected readonly _parent?: Scope; constructor({ prefixes, parent }?: ScopeOptions); toName(nameOrPrefix: Name | string): Name; name(prefix: string): Name; p...
1,285,555
09930484f48ef352f01f808dc5470fd1
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-10/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueError
type
class ValueError extends Error { constructor(name) { super(`CodeGen: "code" for ${name} not defined`); this.value = name.value; } }
1,285,556
4749b3a50d7b9874d64f436900e882db
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=58-141/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope
type
class ValueScope extends Scope { constructor(opts) { super(opts); this._values = {}; this._scope = opts.scope; this.opts = { ...opts, _n: opts.lines ? line : code_1.nil }; } get() { return this._scope; } name(prefix) { return new ValueScopeName(prefix,...
1,285,557
e969864720b78598608d02db2a660d7e
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-55/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScopeName
type
class ValueScopeName extends code_1.Name { constructor(prefix, nameStr) { super(nameStr); this.prefix = prefix; } setValue(value, { property, itemIndex }) { this.value = value; this.scopePath = (0, code_1._) `.${new code_1.Name(property)}[${itemIndex}]`; } }
1,285,558
197e050b35f0ccf51deb736452894399
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=21-44/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
Scope
type
class Scope { constructor({ prefixes, parent } = {}) { this._names = {}; this._prefixes = prefixes; this._parent = parent; } toName(nameOrPrefix) { return nameOrPrefix instanceof code_1.Name ? nameOrPrefix : this.name(nameOrPrefix); } name(prefix) { return new...
1,285,559
bff4cdff7d853379031d1d922e1fc96f
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-9/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueError::constructor
function
constructor(name) { super(`CodeGen: "code" for ${name} not defined`); this.value = name.value; }
1,285,560
2d7c3c4b2826a52061428aeb3acb5407
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=27-29/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
Scope::toName
function
toName(nameOrPrefix) { return nameOrPrefix instanceof code_1.Name ? nameOrPrefix : this.name(nameOrPrefix); }
1,285,561
b3edfe1e7813f08c562e8c7febe0390a
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-26/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
Scope::constructor
function
constructor({ prefixes, parent } = {}) { this._names = {}; this._prefixes = prefixes; this._parent = parent; }
1,285,562
07f8c15aec210a26f267a1dbd6c6ccbe
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=33-36/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
Scope::_newName
function
_newName(prefix) { const ng = this._names[prefix] || this._nameGroup(prefix); return `${prefix}${ng.index++}`; }
1,285,563
b4d89fc4fb231c62deae57b82a91af0f
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=30-32/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
Scope::name
function
name(prefix) { return new code_1.Name(this._newName(prefix)); }
1,285,564
f66f83d70e6657f6832134b2187bd8bd
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=37-43/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
Scope::_nameGroup
function
_nameGroup(prefix) { var _a, _b; if (((_b = (_a = this._parent) === null || _a === void 0 ? void 0 : _a._prefixes) === null || _b === void 0 ? void 0 : _b.has(prefix)) || (this._prefixes && !this._prefixes.has(prefix))) { throw new Error(`CodeGen: prefix "${prefix}" is not allowed in this sc...
1,285,565
319c6cafb7c236238256aa49c634d2c9
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=47-50/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScopeName::constructor
function
constructor(prefix, nameStr) { super(nameStr); this.prefix = prefix; }
1,285,566
5f849d2146b8b440dd8d96f8e7c6731a
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=51-54/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScopeName::setValue
function
setValue(value, { property, itemIndex }) { this.value = value; this.scopePath = (0, code_1._) `.${new code_1.Name(property)}[${itemIndex}]`; }
1,285,567
4e802814cfd8839f59ece8da9105df96
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-64/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope::constructor
function
constructor(opts) { super(opts); this._values = {}; this._scope = opts.scope; this.opts = { ...opts, _n: opts.lines ? line : code_1.nil }; }
1,285,568
3ed0df2b1d7204283ef987928eb1c63a
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=65-67/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope::get
function
get() { return this._scope; }
1,285,569
002424b9cd69005e06c93cb93fb22da2
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=71-93/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope::value
function
value(nameOrPrefix, value) { var _a; if (value.ref === undefined) throw new Error("CodeGen: ref must be passed in value"); const name = this.toName(nameOrPrefix); const { prefix } = name; const valueKey = (_a = value.key) !== null && _a !== void 0 ? _a : value.ref; ...
1,285,570
2d94e150638d54d2fde8045768a02792
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=94-99/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope::getValue
function
getValue(prefix, keyOrRef) { const vs = this._values[prefix]; if (!vs) return; return vs.get(keyOrRef); }
1,285,571
29e4ce2f9c6c28234815ef49ac244b94
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=114-140/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope::_reduceValues
function
_reduceValues(values, valueCode, usedValues = {}, getCode) { let code = code_1.nil; for (const prefix in values) { const vs = values[prefix]; if (!vs) continue; const nameSet = (usedValues[prefix] = usedValues[prefix] || new Map()); vs.forE...
1,285,572
4e225152307a3de5f2a1bc292d391422
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=100-106/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope::scopeRefs
function
scopeRefs(scopeName, values = this._values) { return this._reduceValues(values, (name) => { if (name.scopePath === undefined) throw new Error(`CodeGen: name "${name}" has no value`); return (0, code_1._) `${scopeName}${name.scopePath}`; }); }
1,285,573
fc7451b87f4c016f20971dce0f55a7bc
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=107-113/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope::scopeCode
function
scopeCode(values = this._values, usedValues, getCode) { return this._reduceValues(values, (name) => { if (name.value === undefined) throw new Error(`CodeGen: name "${name}" has no value`); return name.value.code; }, usedValues, getCode); }
1,285,574
a3c7df0cfca653dfc505b5c469c916e7
swh:1:cnt:4bc7794e3215d7b22edd0b43a7d5ee7d034d801b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=68-70/
086792d4af3bc0eb2d63c2588d4990c07579d2dc
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/codegen/scope.js
ValueScope::name
function
name(prefix) { return new ValueScopeName(prefix, this._newName(prefix)); }
1,285,575
fbaedadefa5141226bf103af7bbc1b81
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=108-118/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseElements
function
function parseElements(cxt) { const { gen, schema, data } = cxt; parseToken(cxt, "["); const ix = gen.let("i", 0); gen.assign(data, (0, codegen_1._) `[]`); parseItems(cxt, "]", () => { const el = gen.let("el"); parseCode({ ...cxt, schema: schema.elements, data: el }); gen.ass...
1,285,576
28e15d8e68126b933ec0b31cc283a92a
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=139-145/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseKeyValue
function
function parseKeyValue(cxt, schema) { const { gen } = cxt; const key = gen.let("key"); parseString({ ...cxt, data: key }); parseToken(cxt, ":"); parsePropertyValue(cxt, key, schema); }
1,285,577
f11a3cbff04995f92cefceeae2b5cb53
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=282-286/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseNumber
function
function parseNumber(cxt, maxDigits) { const { gen } = cxt; skipWhitespace(cxt); gen.if((0, codegen_1._) `"-0123456789".indexOf(${jsonSlice(1)}) < 0`, () => jsonSyntaxError(cxt), () => parseWith(cxt, parseJson_1.parseJsonNumber, maxDigits)); }
1,285,578
5cdf470446bfa2a78a53b1eb6eb60600
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=287-292/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseBooleanToken
function
function parseBooleanToken(bool, fail) { return (cxt) => { const { gen, data } = cxt; tryParseToken(cxt, `${bool}`, () => fail(cxt), () => gen.assign(data, bool)); }; }
1,285,579
75c266aee847e8db99935ba0a3c0daed
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=293-304/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseRef
function
function parseRef(cxt) { const { gen, self, definitions, schema, schemaEnv } = cxt; const { ref } = schema; const refSchema = definitions[ref]; if (!refSchema) throw new ref_error_1.default(self.opts.uriResolver, "", ref, `No definition ${ref}`); if (!(0, ref_1.hasRef)(refSchema)) re...
1,285,580
592e8f10ab8e41176daecb8e871cce38
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=337-341/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
jsonSlice
function
function jsonSlice(len) { return len === 1 ? (0, codegen_1._) `${names_1.default.json}[${names_1.default.jsonPos}]` : (0, codegen_1._) `${names_1.default.json}.slice(${names_1.default.jsonPos}, ${names_1.default.jsonPos}+${len})`; }
1,285,581
f65de18adcfe454d3b2e13cc2f1d2d9d
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=69-87/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parserFunction
function
function parserFunction(cxt) { const { gen, parseName, char } = cxt; gen.func(parseName, (0, codegen_1._) `${names_1.default.json}, ${names_1.default.jsonPos}, ${names_1.default.jsonPart}`, false, () => { gen.let(names_1.default.data); gen.let(char); gen.assign((0, codegen_1._) `${parseN...
1,285,582
e8636bca598e4f4c01305ca8edd7ec03
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-100/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseCode
function
function parseCode(cxt) { let form; for (const key of types_1.jtdForms) { if (key in cxt.schema) { form = key; break; } } if (form) parseNullable(cxt, genParse[form]); else parseEmpty(cxt); }
1,285,583
32fb27adcf78c7e671828f2864376a63
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-107/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseNullable
function
function parseNullable(cxt, parseForm) { const { gen, schema, data } = cxt; if (!schema.nullable) return parseForm(cxt); tryParseToken(cxt, "null", parseForm, () => gen.assign(data, null)); }
1,285,584
322170ee0b0281b1a3b919000cb8cf17
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=119-124/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseValues
function
function parseValues(cxt) { const { gen, schema, data } = cxt; parseToken(cxt, "{"); gen.assign(data, (0, codegen_1._) `{}`); parseItems(cxt, "}", () => parseKeyValue(cxt, schema.values)); }
1,285,585
750a69f363d32a8f7c615bdafe0261e8
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=125-128/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseItems
function
function parseItems(cxt, endToken, block) { tryParseItems(cxt, endToken, block); parseToken(cxt, endToken); }
1,285,586
dcc20bb0b1074112d4c0174660cf5f97
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=310-312/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseEmpty
function
function parseEmpty(cxt) { parseWith(cxt, parseJson_1.parseJson); }
1,285,587
e348489e4e1606d2173fbce1de149bcd
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=325-333/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
tryParseToken
function
function tryParseToken(cxt, tok, fail, success) { const { gen } = cxt; const n = tok.length; skipWhitespace(cxt); gen.if((0, codegen_1._) `${jsonSlice(n)} === ${tok}`, () => { gen.add(names_1.default.jsonPos, n); success === null || success === void 0 ? void 0 : success(cxt); }, () =...
1,285,588
67ff8a0779e9920cb76e610700571d17
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=345-349/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parsingError
function
function parsingError({ gen, parseName }, msg) { gen.assign((0, codegen_1._) `${parseName}.message`, msg); gen.assign((0, codegen_1._) `${parseName}.position`, names_1.default.jsonPos); gen.return(undef); }
1,285,589
b5562b235c3342c738a61e4a7b09b4af
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=24-66/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
compileParser
function
function compileParser(sch, definitions) { const _sch = __1.getCompilingSchema.call(this, sch); if (_sch) return _sch; const { es5, lines } = this.opts.code; const { ownProperties } = this.opts; const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties }); const parseName...
1,285,590
a6e36f17e0a45ffaa9b573c11687b4e3
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=129-138/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
tryParseItems
function
function tryParseItems(cxt, endToken, block) { const { gen } = cxt; gen.for((0, codegen_1._) `;${names_1.default.jsonPos}<${names_1.default.jsonLen} && ${jsonSlice(1)}!==${endToken};`, () => { block(); tryParseToken(cxt, ",", () => gen.break(), hasItem); }); function hasItem() { ...
1,285,591
5572b11012b1b01fd3af454846cc654d
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=135-137/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
tryParseItems::hasItem
function
function hasItem() { tryParseToken(cxt, endToken, () => { }, jsonSyntaxError); }
1,285,592
090c1fa690d61f2ed87c9ab97f6a475d
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=222-261/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseType
function
function parseType(cxt) { const { gen, schema, data, self } = cxt; switch (schema.type) { case "boolean": parseBoolean(cxt); break; case "string": parseString(cxt); break; case "timestamp": { parseString(cxt); const ...
1,285,593
5a9a2d66af255fd0bf508fa9b82a0e92
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=146-175/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseDiscriminator
function
function parseDiscriminator(cxt) { const { gen, data, schema } = cxt; const { discriminator, mapping } = schema; parseToken(cxt, "{"); gen.assign(data, (0, codegen_1._) `{}`); const startPos = gen.const("pos", names_1.default.jsonPos); const value = gen.let("value"); const tag = gen.let("tag...
1,285,594
2b1f752b7412f7ff42e34f1cdd703eef
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=266-281/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseEnum
function
function parseEnum(cxt) { const { gen, data, schema } = cxt; const enumSch = schema.enum; parseToken(cxt, '"'); // TODO loopEnum gen.if(false); for (const value of enumSch) { const valueStr = JSON.stringify(value).slice(1); // remove starting quote gen.elseIf((0, codegen_1._) `${...
1,285,595
17f2c5350e1d72403a4f937f97990eb3
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=219-221/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parsePropertyValue
function
function parsePropertyValue(cxt, key, schema) { parseCode({ ...cxt, schema, data: (0, codegen_1._) `${cxt.data}[${key}]` }); }
1,285,596
7fdc6e4875ddeeb659e17471bf134c37
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=305-309/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
getParser
function
function getParser(gen, sch) { return sch.parse ? gen.scopeValue("parse", { ref: sch.parse }) : (0, codegen_1._) `${gen.scopeValue("wrapper", { ref: sch })}.parse`; }
1,285,597
4509ba79f56492ef961fa8b7af42c614
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=313-315/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseWith
function
function parseWith(cxt, parseFunc, args) { partialParse(cxt, (0, util_1.useFunc)(cxt.gen, parseFunc), args); }
1,285,598
5c2c8c24aab17b9e638ccbb15ee1e4e1
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=322-324/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
parseToken
function
function parseToken(cxt, tok) { tryParseToken(cxt, tok, jsonSyntaxError); }
1,285,599
a656260db1427570218326bb5e24650a
swh:1:cnt:8fc94fd0eae5349e3513ce79e3f2ba1a3ffbdc6a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=334-336/
7ad955b431cf9b9e2367b6087e5e48ba18b931f4
wlbdashboard
wmcs
node_modules/workbox-build/node_modules/ajv/dist/compile/jtd/parse.js
skipWhitespace
function
function skipWhitespace({ gen, char: c }) { gen.code((0, codegen_1._) `while((${c}=${names_1.default.json}[${names_1.default.jsonPos}],${c}===" "||${c}==="\\n"||${c}==="\\r"||${c}==="\\t"))${names_1.default.jsonPos}++;`); }