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,289,100
f3e5e43d885f825515c8a2a2ae945c71
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=755-803/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
BlockValue::parseBlockValue
function
parseBlockValue(start) { const { indent, src } = this.context; const explicit = !!this.blockIndent; let offset = start; let valueEnd = start; let minBlockIndent = 1; for (let ch = src[offset]; ch === '\n'; ch = src[offset]) { offset += 1; if (PlainValue.Node.atDocumen...
1,289,101
c9b21c59bc54a8777633e06486cda3d6
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=836-839/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
BlockValue::setOrigRanges
function
setOrigRanges(cr, offset) { offset = super.setOrigRanges(cr, offset); return this.header ? this.header.setOrigRange(cr, offset) : offset; }
1,289,102
e848f456f9910c444f0a0e88a0ce5900
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1207-1256/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
QuoteSingle::strValue
function
/** * @returns {string | { str: string, errors: YAMLSyntaxError[] }} */ get strValue() { if (!this.valueRange || !this.context) return null; const errors = []; const { start, end } = this.valueRange; const { indent, src } = this.context; if (src[end - 1] !== "...
1,289,103
313b46e44894aaf499008da2ef6705f4
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1278-1304/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
createNewNode
function
function createNewNode(type, props) { switch (type) { case PlainValue.Type.ALIAS: return new Alias(type, props); case PlainValue.Type.BLOCK_FOLDED: case PlainValue.Type.BLOCK_LITERAL: return new BlockValue(type, props); case PlainValue.Type.FLOW_MAP: case PlainValue.Type.FLOW_SEQ: ...
1,289,104
b6e1fbebf0f4f9efef0f36419503eca7
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=964-981/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
FlowCollection::setOrigRanges
function
setOrigRanges(cr, offset) { offset = super.setOrigRanges(cr, offset); this.items.forEach(node => { if (node instanceof PlainValue.Node) { offset = node.setOrigRanges(cr, offset); } else if (cr.length === 0) { node.origOffset = node.offset; } else { let i = offset; ...
1,289,105
2c763cfb7419187bc98c5a1c4fab686f
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=847-850/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
FlowCollection::prevNodeIsJsonLike
function
prevNodeIsJsonLike(idx = this.items.length) { const node = this.items[idx - 1]; return !!node && (node.jsonLike || node.type === PlainValue.Type.COMMENT && this.prevNodeIsJsonLike(idx - 1)); }
1,289,106
e5a05f80118c6064896b35ad4d99c7c0
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=6-8/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
BlankLine::constructor
function
constructor() { super(PlainValue.Type.BLANK_LINE); }
1,289,107
588768e0b9ebe0c3c266ff591750f79e
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-38/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
CollectionItem::includesTrailingLines
function
get includesTrailingLines() { return !!this.node && this.node.includesTrailingLines; }
1,289,108
997f228000d71349e388d0007702a558
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=119-131/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
CollectionItem::toString
function
toString() { const { context: { src }, node, range, value } = this; if (value != null) return value; const str = node ? src.slice(range.start, node.range.start) + String(node) : src.slice(range.start, range.end); return PlainValue.Node.addStringTerminator(src, r...
1,289,109
0fa6e55f3b7f5b8a7d7456b4e3a03618
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=193-208/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Collection::constructor
function
constructor(firstItem) { super(firstItem.type === PlainValue.Type.SEQ_ITEM ? PlainValue.Type.SEQ : PlainValue.Type.MAP); for (let i = firstItem.props.length - 1; i >= 0; --i) { if (firstItem.props[i].start < firstItem.context.lineStart) { // props on previous line are assumed by the collection ...
1,289,110
61e5b5ea279f66e6cf143ecf793781c2
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=154-182/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
grabCollectionEndComments
function
function grabCollectionEndComments(node) { let cnode = node; while (cnode instanceof CollectionItem) cnode = cnode.node; if (!(cnode instanceof Collection)) return null; const len = cnode.items.length; let ci = -1; for (let i = len - 1; i >= 0; --i) { const n = cnode.items[i]; if (n.type === PlainVa...
1,289,111
506459393e9829e4f997b193576aeead
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=397-404/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Directive::parse
function
parse(context, start) { this.context = context; let offset = this.parseName(start + 1); offset = this.parseParameters(offset); offset = this.parseComment(offset); this.range = new PlainValue.Range(start, offset); return offset; }
1,289,112
14ca26929a3b2e55a90f1110552abe24
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=654-656/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
BlockValue::includesTrailingLines
function
get includesTrailingLines() { return this.chomping === Chomp.KEEP; }
1,289,113
25f53415de99b033a511770713036a41
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=843-846/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
FlowCollection::constructor
function
constructor(type, props) { super(type, props); this.items = null; }
1,289,114
d639c2239fce6bcd8797baa9d8ddd506
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1194-1205/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
QuoteSingle::endOfQuote
function
static endOfQuote(src, offset) { let ch = src[offset]; while (ch) { if (ch === "'") { if (src[offset + 1] !== "'") break; ch = src[offset += 2]; } else { ch = src[offset += 1]; } } return offset + 1; }
1,289,115
c7ad654608523bb992a0f97f0b5c5c7c
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1159-1171/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
QuoteDouble::parseCharCode
function
parseCharCode(offset, length, errors) { const { src } = this.context; const cc = src.substr(offset, length); const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc); const code = ok ? parseInt(cc, 16) : NaN; if (isNaN(code)) { errors.push(new PlainValue.YAMLSyntaxError(this, `In...
1,289,116
293277e2629825000923dff729e3ec9e
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1402-1415/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
ParseContext::nodeStartsCollection
function
nodeStartsCollection(node) { const { inCollection, inFlow, src } = this; if (inCollection || inFlow) return false; if (node instanceof CollectionItem) return true; // check for implicit key let offset = node.range.end; if (src[offset] === '\n' || src[offset - 1] === '\n') r...
1,289,117
8cda8d44965b4387899e96c89417d117
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1258-1275/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
QuoteSingle::parse
function
/** * Parses a 'single quoted' value from the source * * @param {ParseContext} context * @param {number} start - Index of first character * @returns {number} - Index of the character after this scalar */ parse(context, start) { this.context = context; const { src } = context; l...
1,289,118
9658acc2fca63daa2b83f5ad0ee6f27e
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1417-1471/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
ParseContext::parseProps
function
// Anchor and tag are before type, which determines the node implementation // class; hence this intermediate step. parseProps(offset) { const { inFlow, parent, src } = this; const props = []; let lineHasProps = false; offset = this.atLineStart ? PlainValue.Node.endOfIndent(src...
1,289,119
4ec981dd53862bcfa08d205329ec553b
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1342-1401/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
ParseContext::constructor
function
constructor(orig = {}, { atLineStart, inCollection, inFlow, indent, lineStart, parent } = {}) { /** * Parses a node from the source * @param {ParseContext} overlay * @param {number} start - Index of first non-whitespace character for the node * @returns {?Node} - null i...
1,289,120
36015de855eadde40e15bb0031a2f652
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=32-35/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
CollectionItem::constructor
function
constructor(type, props) { super(type, props); this.node = null; }
1,289,121
357e37863df9fa4057096b5f4323de88
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=40-114/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
CollectionItem::parse
function
/** * @param {ParseContext} context * @param {number} start - Index of first character * @returns {number} - Index of the character after this */ parse(context, start) { this.context = context; const { parseNode, src } = context; let { atLineStart, lineStart } =...
1,289,122
6848b4a9accf8ddab5b89a68ac79f683
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=373-376/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Directive::parameters
function
get parameters() { const raw = this.rawValue; return raw ? raw.trim().split(/[ \t]+/) : []; }
1,289,123
3ba6ba4bd19b430743da068b099805e8
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=387-396/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Directive::parseParameters
function
parseParameters(start) { const { src } = this.context; let offset = start; let ch = src[offset]; while (ch && ch !== '\n' && ch !== '#') ch = src[offset += 1]; this.valueRange = new PlainValue.Range(start, offset); return offset; }
1,289,124
d47feae450b5c6c9950a2cd7992baa65
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=408-412/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Document::startCommentOrEndBlankLine
function
static startCommentOrEndBlankLine(src, start) { const offset = PlainValue.Node.endOfWhiteSpace(src, start); const ch = src[offset]; return ch === '#' || ch === '\n' ? offset : start; }
1,289,125
dadbe9dc0ebf010c4dc5cf73f2023b15
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=420-488/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Document::parseDirectives
function
parseDirectives(start) { const { src } = this.context; this.directives = []; let atLineStart = true; let hasDirectives = false; let offset = start; while (!PlainValue.Node.atDocumentBoundary(src, offset, PlainValue.Char.DIRECTIVES_END)) { offset = Document.startCommentOrEndBlankL...
1,289,126
02202fa1c231dc4c52fb0d8d495307c2
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=489-574/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Document::parseContents
function
parseContents(start) { const { parseNode, src } = this.context; if (!this.contents) this.contents = []; let lineStart = start; while (src[lineStart - 1] === '-') lineStart -= 1; let offset = PlainValue.Node.endOfWhiteSpace(src, start); let atLineStart = lineStart === start; t...
1,289,127
637491f6e6933a9791c1805632b06026
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=576-591/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Document::parse
function
/** * @param {ParseContext} context * @param {number} start - Index of first character * @returns {number} - Index of the character after this */ parse(context, start) { context.root = this; this.context = context; const { src } = context; let offset = src.charCodeAt(start) === 0...
1,289,128
3059fa5a9a2fdcfb2dcf6c5b81f0e467
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=604-618/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
Document::toString
function
toString() { const { contents, directives, value } = this; if (value != null) return value; let str = directives.join(''); if (contents.length > 0) { if (directives.length > 0 || contents[0].type === PlainValue.Type.COMMENT) str += '---\n'; str += contents.join(''); ...
1,289,129
6b1ff1cfdaa91752cbbbcb859b86e3d0
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=852-963/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
FlowCollection::parse
function
/** * @param {ParseContext} context * @param {number} start - Index of first character * @returns {number} - Index of the character after this */ parse(context, start) { this.context = context; const { parseNode, src } = context; let { indent, lineStart } = cont...
1,289,130
a7e6b272f168eba97800cad7007c2319
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1021-1158/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
QuoteDouble::strValue
function
/** * @returns {string | { str: string, errors: YAMLSyntaxError[] }} */ get strValue() { if (!this.valueRange || !this.context) return null; const errors = []; const { start, end } = this.valueRange; const { indent, src } = this.context; if (src[end - 1] !== '...
1,289,131
0c34202fae0ea7c2943630ff3ca86600
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1173-1190/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
QuoteDouble::parse
function
/** * Parses a "double quoted" value from the source * * @param {ParseContext} context * @param {number} start - Index of first character * @returns {number} - Index of the character after this scalar */ parse(context, start) { this.context = context; const { src } = context; l...
1,289,132
16be039659e94d8c6a7dd19f3a681b70
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=805-835/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
BlockValue::parse
function
/** * Parses a block value from the source * * Accepted forms are: * ``` * BS * block * lines * * BS #comment * block * lines * ``` * where the block style BS matches the regexp `[|>][-+1-9]*` and block lines * are empty or have an indent level greater than `indent`. * * ...
1,289,133
f7f9a1e24d2f4f46e9e8565c6af09e83
swh:1:cnt:c0608d2c141facfc9699de93c21428c30ede7140;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=1012-1019/
353e2b1c894217eb3b171c5f8595a6f382b49caa
wlbdashboard
wmcs
node_modules/yaml/dist/parse-cst.js
QuoteDouble::endOfQuote
function
static endOfQuote(src, offset) { let ch = src[offset]; while (ch && ch !== '"') { offset += ch === '\\' ? 2 : 1; ch = src[offset]; } return offset + 1; }
1,289,134
9395c6240c38b62dad26e17de04f739b
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-63/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
getSrcInfo
function
function getSrcInfo(cst) { let lineStarts, src; if (typeof cst === 'string') { lineStarts = findLineStarts(cst); src = cst; } else { if (Array.isArray(cst)) cst = cst[0]; if (cst && cst.context) { if (!cst.lineStarts) cst.lineStarts = findLineStarts(cst.context.src); lineStarts = cst.l...
1,289,135
5784dd912526bf173ddbe4078c328ba0
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=112-135/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
getLine
function
/** * Get a specified line from the source. * * Accepts a source string or a CST document as the second parameter. With * the latter, starting indices for lines are cached in the document as * `lineStarts: number[]`. * * Returns the line as a string if found, or `null` otherwise. * * @param {number} line One-i...
1,289,136
c2a88ea4194334ede148bce33e60541b
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=188-190/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Range::copy
function
static copy(orig) { return new Range(orig.start, orig.end); }
1,289,137
54ff2a0ee75e7555dc60f683d7cee943
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=191-194/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Range::constructor
function
constructor(start, end) { this.start = start; this.end = end || start; }
1,289,138
06f93d44d953b83b6ebeda289eaaf9af
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=265-269/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::endOfIndent
function
static endOfIndent(src, offset) { let ch = src[offset]; while (ch === ' ') ch = src[offset += 1]; return offset; }
1,289,139
bbbec8cecf9d2eb9b4de9aa9014fdc51
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=257-264/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::endOfIdentifier
function
static endOfIdentifier(src, offset) { let ch = src[offset]; const isVerbatim = ch === '<'; const notOk = isVerbatim ? ['\n', '\t', ' ', '>'] : ['\n', '\t', ' ', '[', ']', '{', '}', ',']; while (ch && notOk.indexOf(ch) === -1) ch = src[offset += 1]; if (isVerbatim && ch === '>') offset += 1; retu...
1,289,140
20514aea510b9808f17e212afd4e8850
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=280-285/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::startOfLine
function
static startOfLine(src, offset) { let ch = src[offset - 1]; if (ch === '\n') return offset; while (ch && ch !== '\n') ch = src[offset -= 1]; return offset + 1; }
1,289,141
5e707358ddff0f45e95236ed6432a348
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=287-306/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::endOfBlockIndent
function
/** * End of indentation, or null if the line's indent level is not more * than `indent` * * @param {string} src * @param {number} indent * @param {number} lineStart * @returns {?number} */ static endOfBlockIndent(src, indent, lineStart) { const inEnd = Node.endOfIndent(src, lineStart); ...
1,289,142
430069e3ae2707a6f25b34b5df4e19c5
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=391-401/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::commentHasRequiredWhitespace
function
commentHasRequiredWhitespace(start) { const { src } = this.context; if (this.header && start === this.header.end) return false; if (!this.valueRange) return false; const { end } = this.valueRange; return start !== end || Node.atBlank(src, end - 1); }
1,289,143
b96f9a74c3b59272c692c8331cc0d313
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=402-412/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::hasComment
function
get hasComment() { if (this.context) { const { src } = this.context; for (let i = 0; i < this.props.length; ++i) { if (src[this.props[i].start] === Char.COMMENT) return true; } } return false; }
1,289,144
354f4b13105cd3b42b786a0084d34440
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=572-574/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLSemanticError::constructor
function
constructor(source, message) { super('YAMLSemanticError', source, message); }
1,289,145
061ed57f257c3aa3f3b9108e97780ef0
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=624-682/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
PlainValue::strValue
function
get strValue() { if (!this.valueRange || !this.context) return null; let { start, end } = this.valueRange; const { src } = this.context; let ch = src[end - 1]; while (start < end && (ch === '\n' || ch === '\t' || ch === ' ')) ch = src[--end - 1]; let str = ''; for (...
1,289,146
cd5e2e55e584cbaac8907124ca310c7e
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=595-604/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
_toPrimitive
function
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String :...
1,289,147
abd3232eb0d34eb4b578afc85f33c135
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=611-623/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
PlainValue::endOfLine
function
static endOfLine(src, start, inFlow) { let ch = src[start]; let offset = start; while (ch && ch !== '\n') { if (inFlow && (ch === '[' || ch === ']' || ch === '{' || ch === '}' || ch === ',')) break; const next = src[offset + 1]; if (ch === ':' && (!next || next === '\n' || next === '\t' ||...
1,289,148
45d42f598a286edb2458ff7fa098a28c
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=65-110/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
getLinePos
function
/** * @typedef {Object} LinePos - One-indexed position in the source * @property {number} line * @property {number} col */ /** * Determine the line/col position matching a character offset. * * Accepts a source string or a CST document as the second parameter. With * the latter, starting indices for lines are ...
1,289,149
5154902d23b048208a0c88f6a863cb8b
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=195-197/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Range::isEmpty
function
isEmpty() { return typeof this.start !== 'number' || !this.end || this.end <= this.start; }
1,289,150
f46a69b5a794fdda8464b0ea2b24ee73
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=317-321/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::normalizeOffset
function
// should be at line or string end, or at next non-whitespace char static normalizeOffset(src, offset) { const ch = src[offset]; return !ch ? offset : ch !== '\n' && src[offset - 1] === '\n' ? offset - 1 : Node.endOfWhiteSpace(src, offset); }
1,289,151
deca4c5302a39064a5cf57a53c3fb067
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=368-375/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::getPropValue
function
getPropValue(idx, key, skipKey) { if (!this.context) return null; const { src } = this.context; const prop = this.props[idx]; return prop && src[prop.start] === key ? src.slice(prop.start + (skipKey ? 1 : 0), prop.end) : null; }
1,289,152
4bd982f4450597f6f5176f0d9af5cff4
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=383-390/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::comment
function
get comment() { const comments = []; for (let i = 0; i < this.props.length; ++i) { const comment = this.getPropValue(i, Char.COMMENT, true); if (comment != null) comments.push(comment); } return comments.length > 0 ? comments.join('\n') : null; }
1,289,153
5fa1c132e6dc5a4ec587ce9e998336c6
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=441-448/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::rawValue
function
get rawValue() { if (!this.valueRange || !this.context) return null; const { start, end } = this.valueRange; return this.context.src.slice(start, end); }
1,289,154
766410d9105294ebff566ecdfbcc849f
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=469-482/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::valueRangeContainsNewline
function
get valueRangeContainsNewline() { if (!this.valueRange || !this.context) return false; const { start, end } = this.valueRange; const { src } = this.context; for (let i = start; i < end; ++i) { if (src[i] === '\n') return true; } return false; }
1,289,155
aca7cde3a28afde17c50a5fa0a0a0945
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=525-531/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLError::constructor
function
constructor(name, source, message) { if (!message || !(source instanceof Node)) throw new Error(`Invalid arguments for new ${name}`); super(); this.name = name; this.message = message; this.source = source; }
1,289,156
91cfff0480e4bd5e41a121951720a8fc
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=567-569/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLReferenceError::constructor
function
constructor(source, message) { super('YAMLReferenceError', source, message); }
1,289,157
9ce3fb07cd7bd7c5eb301fbdf0e6a368
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=577-579/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLSyntaxError::constructor
function
constructor(source, message) { super('YAMLSyntaxError', source, message); }
1,289,158
19420f483c935a5686e62b43e64a6f0f
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=582-584/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLWarning::constructor
function
constructor(source, message) { super('YAMLWarning', source, message); }
1,289,159
1762db0cf7bfb19145b7353483b6e28c
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=605-608/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
_toPropertyKey
function
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
1,289,160
29cd9f22880117b2866e93df09ca3d63
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=199-229/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Range::setOrigRange
function
/** * Set `origStart` and `origEnd` to point to the original source range for * this node, which may differ due to dropped CR characters. * * @param {number[]} cr - Positions of dropped CR characters * @param {number} offset - Starting index of `cr` from the last call * @returns {number} - The next of...
1,289,161
7f52587a8c55788ef9cd6249000f9a54
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=234-238/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::addStringTerminator
function
static addStringTerminator(src, offset, str) { if (str[str.length - 1] === '\n') return str; const next = Node.endOfWhiteSpace(src, offset); return next >= src.length || src[next] === '\n' ? str + '\n' : str; }
1,289,162
2fbea94365324bd2e9efefbaefc3349f
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=275-279/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::endOfWhiteSpace
function
static endOfWhiteSpace(src, offset) { let ch = src[offset]; while (ch === '\t' || ch === ' ') ch = src[offset += 1]; return offset; }
1,289,163
4771fb94d0643dbe8bd65fd34c8b6e04
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=311-315/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::nextNodeIsIndented
function
static nextNodeIsIndented(ch, indentDiff, indicatorAsIndent) { if (!ch || indentDiff < 0) return false; if (indentDiff > 0) return true; return indicatorAsIndent && ch === '-'; }
1,289,164
9d0a152bce60aaec6c5c4fb13f9b36f8
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=240-256/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::atDocumentBoundary
function
// ^(---|...) static atDocumentBoundary(src, offset, sep) { const ch0 = src[offset]; if (!ch0) return true; const prev = src[offset - 1]; if (prev && prev !== '\n') return false; if (sep) { if (ch0 !== sep) return false; } else { if (ch0 !== Char.DIRECTIVES_END && ch0 !== Char.DOCU...
1,289,165
1dc8e2a4c684840d21a86bbb2dfdff94
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=307-310/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::atBlank
function
static atBlank(src, offset, endAsBlank) { const ch = src[offset]; return ch === '\n' || ch === '\t' || ch === ' ' || endAsBlank && !ch; }
1,289,166
4963ac3ced7a34dc3b88adea4a2580f1
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=356-367/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::constructor
function
constructor(type, props, context) { Object.defineProperty(this, 'context', { value: context || null, writable: true }); this.error = null; this.range = null; this.valueRange = null; this.props = props || []; this.type = type; this.value = null; }
1,289,167
7616fb0f81549bafc902962c609a00c0
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=431-440/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::rangeAsLinePos
function
get rangeAsLinePos() { if (!this.range || !this.context) return undefined; const start = getLinePos(this.range.start, this.context.root); if (!start) return undefined; const end = getLinePos(this.range.end, this.context.root); return { start, end }; }
1,289,168
a744017ce085dead6550f20ba605dc3f
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=449-468/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::tag
function
get tag() { for (let i = 0; i < this.props.length; ++i) { const tag = this.getPropValue(i, Char.TAG, false); if (tag != null) { if (tag[1] === '<') { return { verbatim: tag.slice(2, -1) }; } else { // eslint-disable-next-line no-unused-vars ...
1,289,169
b547da09aeedac4cf0a7caa1e665facf
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=587-594/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
_defineProperty
function
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
1,289,170
3cc337d22234da8447d3cc1a7eced2ce
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-45/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
findLineStarts
function
function findLineStarts(src) { const ls = [0]; let offset = src.indexOf('\n'); while (offset !== -1) { offset += 1; ls.push(offset); offset = src.indexOf('\n', offset); } return ls; }
1,289,171
d5fec374875c716183a91b96aebde3cc
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=137-185/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
getPrettyContext
function
/** * Pretty-print the starting line from the source indicated by the range `pos` * * Trims output to `maxWidth` chars while keeping the starting column visible, * using `…` at either end to indicate dropped characters. * * Returns a two-line string (or `null`) with `\n` as separator; the second line * will hold...
1,289,172
95f59fbc3f0c156ad28bfbcb45d90071
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=270-274/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::endOfLine
function
static endOfLine(src, offset) { let ch = src[offset]; while (ch && ch !== '\n') ch = src[offset += 1]; return offset; }
1,289,173
cd2f96089d543f2aa50fedc6027dc7f9
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=323-355/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::foldNewline
function
// fold single newline into space, multiple newlines to N - 1 newlines // presumes src[offset] === '\n' static foldNewline(src, offset, indent) { let inCount = 0; let error = false; let fold = ''; let ch = src[offset + 1]; while (ch === ' ' || ch === '\t' || ch === '\n') { switch (ch) { ...
1,289,174
9d9cb97f5637bf0e5aed212e5de24d55
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=376-382/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::anchor
function
get anchor() { for (let i = 0; i < this.props.length; ++i) { const anchor = this.getPropValue(i, Char.ANCHOR, true); if (anchor != null) return anchor; } return null; }
1,289,175
66ce573ba302b0f7d40ba5bf66db0453
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=413-423/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::hasProps
function
get hasProps() { if (this.context) { const { src } = this.context; for (let i = 0; i < this.props.length; ++i) { if (src[this.props[i].start] !== Char.COMMENT) return true; } } return false; }
1,289,176
3dc8293475ff344a61cf42709a6430c2
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=424-426/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::includesTrailingLines
function
get includesTrailingLines() { return false; }
1,289,177
dd17826a200fb77f40ef3c9b3d73e07c
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=483-494/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::parseComment
function
parseComment(start) { const { src } = this.context; if (src[start] === Char.COMMENT) { const end = Node.endOfLine(src, start + 1); const commentRange = new Range(start, end); this.props.push(commentRange); return end; } return start; }
1,289,178
28a3ff8732205ddf9e8781518e4a37dd
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=496-509/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::setOrigRanges
function
/** * Populates the `origStart` and `origEnd` values of all ranges for this * node. Extended by child classes to handle descendant nodes. * * @param {number[]} cr - Positions of dropped CR characters * @param {number} offset - Starting index of `cr` from the last call * @returns {number} - The next of...
1,289,179
f767424dec86b74e5ed9a154ce074fe1
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=510-521/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::toString
function
toString() { const { context: { src }, range, value } = this; if (value != null) return value; const str = src.slice(range.start, range.end); return Node.addStringTerminator(src, range.end, str); }
1,289,180
591bf051251a06cec688a2804a226c39
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=683-705/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
PlainValue::parseBlockValue
function
parseBlockValue(start) { const { indent, inFlow, src } = this.context; let offset = start; let valueEnd = start; for (let ch = src[offset]; ch === '\n'; ch = src[offset]) { if (Node.atDocumentBoundary(src, offset + 1)) break; const end = Node.endOfBlockIndent(src, inden...
1,289,181
f9a4a142117fac92d50c7438088f514e
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=707-750/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
PlainValue::parse
function
/** * Parses a plain value from the source * * Accepted forms are: * ``` * #comment * * first line * * first line #comment * * first line * block * lines * * #comment * block * lines * ``` * where block lines are empty or have an indent level greater than `indent...
1,289,182
c5f805bab21ea6d02f3b353f0b9e42ef
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=532-564/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLError::makePretty
function
makePretty() { if (!this.source) return; this.nodeType = this.source.type; const cst = this.source.context && this.source.context.root; if (typeof this.offset === 'number') { this.range = new Range(this.offset, this.offset + 1); const start = cst && getLinePos(this.offset, cst); if (st...
1,289,183
28cfb00edbdff806c5aa6988a5da237f
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=427-430/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node::jsonLike
function
get jsonLike() { const jsonLikeTypes = [Type.FLOW_MAP, Type.FLOW_SEQ, Type.QUOTE_DOUBLE, Type.QUOTE_SINGLE]; return jsonLikeTypes.indexOf(this.type) !== -1; }
1,289,184
7706abb461f6e93b61272f9637066ae9
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=187-230/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Range
type
class Range { static copy(orig) { return new Range(orig.start, orig.end); } constructor(start, end) { this.start = start; this.end = end || start; } isEmpty() { return typeof this.start !== 'number' || !this.end || this.end <= this.start; } /** * Set `origStart` and `origEnd` to point ...
1,289,185
40eb35ecd7a281aef79fe34f499bf58f
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=566-570/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLReferenceError
type
class YAMLReferenceError extends YAMLError { constructor(source, message) { super('YAMLReferenceError', source, message); } }
1,289,186
b5727e847e7bb27e8d2edc3de954b033
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=524-565/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLError
type
class YAMLError extends Error { constructor(name, source, message) { if (!message || !(source instanceof Node)) throw new Error(`Invalid arguments for new ${name}`); super(); this.name = name; this.message = message; this.source = source; } makePretty() { if (!this.source) return; this...
1,289,187
7e9aeac7a06df2cd47147c274361f3ed
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=232-522/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
Node
type
/** Root class of all nodes */ class Node { static addStringTerminator(src, offset, str) { if (str[str.length - 1] === '\n') return str; const next = Node.endOfWhiteSpace(src, offset); return next >= src.length || src[next] === '\n' ? str + '\n' : str; } // ^(---|...) static atDocumentBoundary(src,...
1,289,188
49b947a7e243060f121b278c2f9ae328
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=571-575/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLSemanticError
type
class YAMLSemanticError extends YAMLError { constructor(source, message) { super('YAMLSemanticError', source, message); } }
1,289,189
416a0c476d7c377ba8318070ea48eba4
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=576-580/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLSyntaxError
type
class YAMLSyntaxError extends YAMLError { constructor(source, message) { super('YAMLSyntaxError', source, message); } }
1,289,190
f011474b0a5a09a923054b6766985e31
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=581-585/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
YAMLWarning
type
class YAMLWarning extends YAMLError { constructor(source, message) { super('YAMLWarning', source, message); } }
1,289,191
969c4024d396a0e7ed2046749c917658
swh:1:cnt:ed7343ce3fb72f4769f87a58cd0ea08e1db3a49b;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=610-751/
2fcb0cb4d8ea314de2796a3df799c09d9dae29d7
wlbdashboard
wmcs
node_modules/yaml/dist/PlainValue-516d5bc2.js
PlainValue
type
class PlainValue extends Node { static endOfLine(src, start, inFlow) { let ch = src[start]; let offset = start; while (ch && ch !== '\n') { if (inFlow && (ch === '[' || ch === ']' || ch === '{' || ch === '}' || ch === ',')) break; const next = src[offset + 1]; if (ch === ':' && (!next ||...
1,289,192
d59c796fc427f2824ee1e8d402a82558
swh:1:cnt:20a86537ae669f15bd119750e6c7b1d875322305;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=5-9/
df3d1d0760976ed32cb3beb9a83189f244f00765
wlbdashboard
wmcs
node_modules/yaml/dist/resolveSeq-95613e94.js
addCommentBefore
function
function addCommentBefore(str, indent, comment) { if (!comment) return str; const cc = comment.replace(/[\s\S]^/gm, `$&${indent}#`); return `#${cc}\n${indent}${str}`; }
1,289,193
521f677c7d09063426337fd2e6f8a0d9
swh:1:cnt:20a86537ae669f15bd119750e6c7b1d875322305;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=16-30/
df3d1d0760976ed32cb3beb9a83189f244f00765
wlbdashboard
wmcs
node_modules/yaml/dist/resolveSeq-95613e94.js
toJSON
function
function toJSON(value, arg, ctx) { if (Array.isArray(value)) return value.map((v, i) => toJSON(v, String(i), ctx)); if (value && typeof value.toJSON === 'function') { const anchor = ctx && ctx.anchors && ctx.anchors.get(value); if (anchor) ctx.onCreate = res => { anchor.res = res; delete ctx.onC...
1,289,194
06a6aba2795e0a7dd7559d6d0d63a8ba
swh:1:cnt:20a86537ae669f15bd119750e6c7b1d875322305;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=45-65/
df3d1d0760976ed32cb3beb9a83189f244f00765
wlbdashboard
wmcs
node_modules/yaml/dist/resolveSeq-95613e94.js
collectionFromPath
function
function collectionFromPath(schema, path, value) { let v = value; for (let i = path.length - 1; i >= 0; --i) { const k = path[i]; if (Number.isInteger(k) && k >= 0) { const a = []; a[k] = v; v = a; } else { const o = {}; Object.defineProperty(o, k, { value: v, ...
1,289,195
ffaa387e2ba7696a655d6dfe3fd437b9
swh:1:cnt:20a86537ae669f15bd119750e6c7b1d875322305;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=87-90/
df3d1d0760976ed32cb3beb9a83189f244f00765
wlbdashboard
wmcs
node_modules/yaml/dist/resolveSeq-95613e94.js
Collection::getIn
function
getIn([key, ...rest], keepScalar) { const node = this.get(key, true); if (rest.length === 0) return !keepScalar && node instanceof Scalar ? node.value : node;else return node instanceof Collection ? node.getIn(rest, keepScalar) : undefined; }
1,289,196
b1aa95b038c82b26bafc392c7243e289
swh:1:cnt:20a86537ae669f15bd119750e6c7b1d875322305;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=103-110/
df3d1d0760976ed32cb3beb9a83189f244f00765
wlbdashboard
wmcs
node_modules/yaml/dist/resolveSeq-95613e94.js
Collection::setIn
function
setIn([key, ...rest], value) { if (rest.length === 0) { this.set(key, value); } else { const node = this.get(key, true); if (node instanceof Collection) node.setIn(rest, value);else if (node === undefined && this.schema) this.set(key, collectionFromPath(this.schema, rest, value));else throw ne...
1,289,197
074112e583a72f5e1683bdd7bdf5b1f8
swh:1:cnt:20a86537ae669f15bd119750e6c7b1d875322305;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=205-207/
df3d1d0760976ed32cb3beb9a83189f244f00765
wlbdashboard
wmcs
node_modules/yaml/dist/resolveSeq-95613e94.js
YAMLSeq::add
function
add(value) { this.items.push(value); }
1,289,198
4a7dd2033509dd85a14411da07c05d48
swh:1:cnt:20a86537ae669f15bd119750e6c7b1d875322305;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=112-116/
df3d1d0760976ed32cb3beb9a83189f244f00765
wlbdashboard
wmcs
node_modules/yaml/dist/resolveSeq-95613e94.js
Collection::toJSON
function
// overridden in implementations /* istanbul ignore next */ toJSON() { return null; }
1,289,199
5b686c0f7b637466e812307152bf2890
swh:1:cnt:20a86537ae669f15bd119750e6c7b1d875322305;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=224-228/
df3d1d0760976ed32cb3beb9a83189f244f00765
wlbdashboard
wmcs
node_modules/yaml/dist/resolveSeq-95613e94.js
YAMLSeq::set
function
set(key, value) { const idx = asItemIndex(key); if (typeof idx !== 'number') throw new Error(`Expected a valid index, not ${key}.`); this.items[idx] = value; }