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,283,500 | d1bb3c57d767a5a450dbd9db8d0bd0d7 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=176-262/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::visitFunction | function | visitFunction(node) {
let i, iz;
// FunctionDeclaration name is defined in upper scope
// NOTE: Not referring variableScope. It is intended.
// Since
// in ES5, FunctionDeclaration should be in FunctionBody.
// in ES6, FunctionDeclaration should be block scoped.
... |
1,283,501 | 5b80ef430182416dfe863e9c2483c039 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=391-409/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::CatchClause | function | CatchClause(node) {
this.scopeManager.__nestCatchScope(node);
this.visitPattern(node.param, { processRightHandNodes: true }, (pattern, info) => {
this.currentScope().__define(pattern,
new Definition(
Variable.CatchClause,
node.param,
... |
1,283,502 | 7ad7f4d1d7f74d12c5154980e4103a3d | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=437-443/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::UpdateExpression | function | UpdateExpression(node) {
if (PatternVisitor.isPattern(node.argument)) {
this.currentScope().__referencing(node.argument, Reference.RW, null);
} else {
this.visitChildren(node);
}
} |
1,283,503 | f493f0f9f7e6cecada2b3f1ecc97fe07 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=609-611/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::ExportNamedDeclaration | function | ExportNamedDeclaration(node) {
this.visitExportDeclaration(node);
} |
1,283,504 | a5c7b8257eb850a162af80a6c8f4c636 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=596-599/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::ExportDeclaration | function | // TODO: ExportDeclaration doesn't exist. for bc?
ExportDeclaration(node) {
this.visitExportDeclaration(node);
} |
1,283,505 | 7d6363232874aa15a392432f8546049e | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=40-59/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | traverseIdentifierInPattern | function | /**
* Traverse identifier in pattern
* @param {Object} options - options
* @param {pattern} rootPattern - root pattern
* @param {Refencer} referencer - referencer
* @param {callback} callback - callback
* @returns {void}
*/
function traverseIdentifierInPattern(options, rootPattern, referencer, callback) {
/... |
1,283,506 | ea57266a7440ee7693d33b4d3fc6f557 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=140-142/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::popInnerMethodDefinition | function | popInnerMethodDefinition(isInnerMethodDefinition) {
this.isInnerMethodDefinition = isInnerMethodDefinition;
} |
1,283,507 | 6c38bae3f0830edc0044a891d571d8e3 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=210-226/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::visitFunction::visitPatternCallback | function | /**
* Visit pattern callback
* @param {pattern} pattern - pattern
* @param {Object} info - info
* @returns {void}
*/
function visitPatternCallback(pattern, info) {
that.currentScope().__define(pattern,
new ParameterDefinition(
... |
1,283,508 | 65ac830d5c2bd6ee439a42f19e6c779d | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=294-310/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::visitProperty | function | visitProperty(node) {
let previous;
if (node.computed) {
this.visit(node.key);
}
const isMethodDefinition = node.type === Syntax.MethodDefinition;
if (isMethodDefinition) {
previous = this.pushInnerMethodDefinition(true);
}
this.visit(no... |
1,283,509 | 482ffd1bd83baae47932d76249688eb1 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=411-431/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::Program | function | Program(node) {
this.scopeManager.__nestGlobalScope(node);
if (this.scopeManager.__isNodejsScope()) {
// Force strictness of GlobalScope to false when using node.js scope.
this.currentScope().isStrict = false;
this.scopeManager.__nestFunctionScope(node, false);
... |
1,283,510 | 5be834b9535256a6c5028ff3e47ffaea | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=433-435/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::Identifier | function | Identifier(node) {
this.currentScope().__referencing(node);
} |
1,283,511 | 226db58fecf21f4a5bfc75493a4a8c88 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=456-458/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::MethodDefinition | function | MethodDefinition(node) {
this.visitProperty(node);
} |
1,283,512 | 294906b249b84f9950113028cf1dc6d7 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=460-460/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::BreakStatement | function | BreakStatement() {} |
1,283,513 | dcdbec5a70158f02a908501a3a020d12 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=517-526/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::WithStatement | function | WithStatement(node) {
this.visit(node.object);
// Then nest scope for WithStatement.
this.scopeManager.__nestWithScope(node);
this.visit(node.body);
this.close(node);
} |
1,283,514 | fd5659dc2d35e7b9c8c19de09f023876 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=556-558/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::FunctionDeclaration | function | FunctionDeclaration(node) {
this.visitFunction(node);
} |
1,283,515 | c56bd17a51e8d9e2d754087ef81327e6 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=460-462/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::ContinueStatement | function | // eslint-disable-line class-methods-use-this
ContinueStatement() {} |
1,283,516 | ec8ab8d1f9d8d19812a2bf2a30afa252 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=560-562/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::FunctionExpression | function | FunctionExpression(node) {
this.visitFunction(node);
} |
1,283,517 | 7ad9710f7806633e0a8523d9ee3e9277 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=613-619/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::ExportSpecifier | function | ExportSpecifier(node) {
// TODO: `node.id` doesn't exist. for bc?
const local = (node.id || node.local);
this.visit(local);
} |
1,283,518 | ad7c355455b819abbeaffaeb997dc155 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=572-574/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer::ArrowFunctionExpression | function | ArrowFunctionExpression(node) {
this.visitFunction(node);
} |
1,283,519 | a847b91d32839d5692ea6ae1b262792b | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=61-111/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Importer | type | // Importing ImportDeclaration.
// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-moduledeclarationinstantiation
// https://github.com/estree/estree/blob/master/es6.md#importdeclaration
// FIXME: Now, we don't create module environment, because the context is
// implementation dependent.
class Importer exten... |
1,283,520 | 871401fe1b7828283f2f32ca8d99c920 | swh:1:cnt:63d1935b3a957f15975282072cf36113b125b61a;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=113-625/ | 75927a5a17a3f3f4fb3c1afb3008fbe8b8daaa05 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/referencer.js | Referencer | type | // Referencing variables and creating bindings.
class Referencer extends esrecurse.Visitor {
constructor(options, scopeManager) {
super(null, options);
this.options = options;
this.scopeManager = scopeManager;
this.parent = null;
this.isInnerMethodDefinition = false;
}
... |
1,283,521 | 6d7aef6e0f124de609e5827961c6092e | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=42-243/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager | type | /**
* @class ScopeManager
*/
class ScopeManager {
constructor(options) {
this.scopes = [];
this.globalScope = null;
this.__nodeToScope = new WeakMap();
this.__currentScope = null;
this.__options = options;
this.__declaredVariables = new WeakMap();
}
__useDi... |
1,283,522 | 5b4855ba3ed867043cc033c513e1458a | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=59-61/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__isOptimistic | function | __isOptimistic() {
return this.__options.optimistic;
} |
1,283,523 | 5042ddcb249442dfb5ccf81f6d83e835 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=75-77/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::isImpliedStrict | function | isImpliedStrict() {
return this.__options.impliedStrict;
} |
1,283,524 | a6692749e864c2a402af5e202071d270 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=187-187/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::attach | function | attach() { } |
1,283,525 | af404fdd841628da692464f720c1f454 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=204-206/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestBlockScope | function | __nestBlockScope(node) {
return this.__nestScope(new BlockScope(this, this.__currentScope, node));
} |
1,283,526 | 33f95fc6aec2856c32f218498fa9d72e | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=216-218/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestCatchScope | function | __nestCatchScope(node) {
return this.__nestScope(new CatchScope(this, this.__currentScope, node));
} |
1,283,527 | 9d8b3473282fb602b4bd9bed2e465656 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=228-230/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestSwitchScope | function | __nestSwitchScope(node) {
return this.__nestScope(new SwitchScope(this, this.__currentScope, node));
} |
1,283,528 | f0da850dbebd1151a80f8d0e73cf453d | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=71-73/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::isModule | function | isModule() {
return this.__options.sourceType === "module";
} |
1,283,529 | 192fbc24771dfb189d714feb8fafbeec | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-81/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::isStrictModeSupported | function | isStrictModeSupported() {
return this.__options.ecmaVersion >= 5;
} |
1,283,530 | abca09d83f42bb69a4fa9fbefb6da3d8 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=88-100/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::getDeclaredVariables | function | /**
* Get variables that are declared by the node.
*
* "are declared by the node" means the node is same as `Variable.defs[].node` or `Variable.defs[].parent`.
* If the node declares nothing, this method returns an empty array.
* CAUTION: This API is experimental. See https://github.com/estools... |
1,283,531 | 26506397f421eacfbe9164fccec0949a | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=156-164/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::acquireAll | function | /**
* acquire all scopes from node.
* @method ScopeManager#acquireAll
* @param {Espree.Node} node - node for the acquired scope.
* @returns {Scopes?} Scope array
*/
acquireAll(node) {
return this.__get(node);
} |
1,283,532 | aa8955ecfe980b3ac1244a19ae381071 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=220-222/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestWithScope | function | __nestWithScope(node) {
return this.__nestScope(new WithScope(this, this.__currentScope, node));
} |
1,283,533 | 1c63fa10d1835593a168532b9d16dae8 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=224-226/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestClassScope | function | __nestClassScope(node) {
return this.__nestScope(new ClassScope(this, this.__currentScope, node));
} |
1,283,534 | 308ee09d260246fbff5b52dcb8425cf3 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=232-234/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestModuleScope | function | __nestModuleScope(node) {
return this.__nestScope(new ModuleScope(this, this.__currentScope, node));
} |
1,283,535 | dc9fc6205d3596bb17a81efd98d7aa4e | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=236-238/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestFunctionExpressionNameScope | function | __nestFunctionExpressionNameScope(node) {
return this.__nestScope(new FunctionExpressionNameScope(this, this.__currentScope, node));
} |
1,283,536 | 8d293e4efc0b0bd4cd373370e203335e | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=240-242/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__isES6 | function | __isES6() {
return this.__options.ecmaVersion >= 6;
} |
1,283,537 | 54340be4f05c9cdd0c635fc435fdfd85 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=55-57/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__useDirective | function | __useDirective() {
return this.__options.directive;
} |
1,283,538 | 4f20dc1fa2eed9c910a1c80ddd32d980 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-69/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__isNodejsScope | function | __isNodejsScope() {
return this.__options.nodejsScope;
} |
1,283,539 | 3df1739e58902d713e408cec3bc170b6 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=187-189/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::detach | function | // eslint-disable-line class-methods-use-this
detach() { } |
1,283,540 | a1f3145dc20a1768b2c3e7778d9eafb8 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=166-185/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::release | function | /**
* release the node.
* @method ScopeManager#release
* @param {Espree.Node} node - releasing node.
* @param {boolean=} inner - look up the most inner scope, default value is false.
* @returns {Scope?} upper scope for the node.
*/
release(node, inner) {
const scopes = this.__g... |
1,283,541 | 85d50ff9fcfc65b52d7c765d61acf389 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=212-214/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestForScope | function | __nestForScope(node) {
return this.__nestScope(new ForScope(this, this.__currentScope, node));
} |
1,283,542 | 62aeb10536438fc9094f32a08286bf92 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=46-53/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::constructor | function | constructor(options) {
this.scopes = [];
this.globalScope = null;
this.__nodeToScope = new WeakMap();
this.__currentScope = null;
this.__options = options;
this.__declaredVariables = new WeakMap();
} |
1,283,543 | 2f07cb9f2cab7573bb7522951bde04c2 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=63-65/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__ignoreEval | function | __ignoreEval() {
return this.__options.ignoreEval;
} |
1,283,544 | 2778edf1fdae4bf8dbc5cf0702c2028e | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=83-86/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__get | function | // Returns appropriate scope for this node.
__get(node) {
return this.__nodeToScope.get(node);
} |
1,283,545 | c2b764ae5393e77d429469ea99e23998 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=102-154/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::acquire | function | /**
* acquire scope from node.
* @method ScopeManager#acquire
* @param {Espree.Node} node - node for the acquired scope.
* @param {boolean=} inner - look up the most inner scope, default value is false.
* @returns {Scope?} Scope from node
*/
acquire(node, inner) {
/**
... |
1,283,546 | a6cd08780f05eb18d33b5ceecd5ef9d3 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=111-121/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::acquire::predicate | function | /**
* predicate
* @param {Scope} testScope - scope to test
* @returns {boolean} predicate
*/
function predicate(testScope) {
if (testScope.type === "function" && testScope.functionExpressionScope) {
return false;
}
return tr... |
1,283,547 | 55e4c2eec089ec9bf1c6c751dde3879a | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=200-202/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestGlobalScope | function | __nestGlobalScope(node) {
return this.__nestScope(new GlobalScope(this, node));
} |
1,283,548 | 2f64d9bdf89fe78d5daca7965d1a3f0c | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=189-198/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestScope | function | // eslint-disable-line class-methods-use-this
__nestScope(scope) {
if (scope instanceof GlobalScope) {
assert(this.__currentScope === null);
this.globalScope = scope;
}
this.__currentScope = scope;
return scope;
} |
1,283,549 | 237c73860390a68ae418f72282972f24 | swh:1:cnt:c1927994b1166ea3100cc42fa2e61ca2de3b367e;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=208-210/ | 178c90a5b3257762ac559b85315375041fc78991 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope-manager.js | ScopeManager::__nestFunctionScope | function | __nestFunctionScope(node, isMethodDefinition) {
return this.__nestScope(new FunctionScope(this, this.__currentScope, node, isMethodDefinition));
} |
1,283,550 | bbbeb89ff0033829c0fb8df15f2eb7dd | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=156-272/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::constructor | function | constructor(scopeManager, type, upperScope, block, isMethodDefinition) {
/**
* One of 'module', 'block', 'switch', 'function', 'catch', 'with', 'function', 'class', 'global'.
* @member {String} Scope#type
*/
this.type = type;
/**
* The scoped {@link Variable... |
1,283,551 | bf2712b97f33eca5b9687ccb6e5cb1ed | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=122-138/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | registerScope | function | /**
* Register scope
* @param {ScopeManager} scopeManager - scope manager
* @param {Scope} scope - scope
* @returns {void}
*/
function registerScope(scopeManager, scope) {
scopeManager.scopes.push(scope);
const scopes = scopeManager.__nodeToScope.get(scope.block);
if (scopes) {
scopes.push(sc... |
1,283,552 | 686a0fba5a70a64675e4ea60a02926e2 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=310-319/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__globalCloseRef | function | __globalCloseRef(ref) {
// let/const/class declarations should be resolved statically.
// others should be resolved dynamically.
if (this.__shouldStaticallyCloseForGlobal(ref)) {
this.__staticCloseRef(ref);
} else {
this.__dynamicCloseRef(ref);
}
} |
1,283,553 | 7424460faa1e8641417a7e127174a7f5 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=371-376/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__delegateToUpperScope | function | __delegateToUpperScope(ref) {
if (this.upper) {
this.upper.__left.push(ref);
}
this.through.push(ref);
} |
1,283,554 | c9bee339baf459ae66022bc3383180f1 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=378-392/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__addDeclaredVariablesOfNode | function | __addDeclaredVariablesOfNode(variable, node) {
if (node === null || node === undefined) {
return;
}
let variables = this.__declaredVariables.get(node);
if (variables === null || variables === undefined) {
variables = [];
this.__declaredVariables.set(... |
1,283,555 | 659120ff02f5c1fbd570722853cbc0c8 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=458-460/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__isClosed | function | __isClosed() {
return this.__left === null;
} |
1,283,556 | 30deebb10335ce427e0c4514b0cbafcd | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=509-519/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::isUsedName | function | isUsedName(name) {
if (this.set.has(name)) {
return true;
}
for (let i = 0, iz = this.through.length; i < iz; ++i) {
if (this.through[i].identifier.name === name) {
return true;
}
}
return false;
} |
1,283,557 | b6d9c3e170b99063d42698df888d0fb3 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=606-608/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | CatchScope::constructor | function | constructor(scopeManager, upperScope, block) {
super(scopeManager, "catch", upperScope, block, false);
} |
1,283,558 | edfc880fbe0caa6b6b229ef80a32c411 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=612-614/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | WithScope::constructor | function | constructor(scopeManager, upperScope, block) {
super(scopeManager, "with", upperScope, block, false);
} |
1,283,559 | f744c2286f80a6cfe9cc69097682814b | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=680-685/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | FunctionScope::isThisMaterialized | function | isThisMaterialized() {
if (!this.isStatic()) {
return true;
}
return this.thisFound;
} |
1,283,560 | 0ae704215e0ddf99b4622a588146e420 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=634-636/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | BlockScope::constructor | function | constructor(scopeManager, upperScope, block) {
super(scopeManager, "block", upperScope, block, false);
} |
1,283,561 | 5fdd9d78bcf8293598d88e8fca1ad1a7 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-120/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | isStrictScope | function | /**
* Test if scope is struct
* @param {Scope} scope - scope
* @param {Block} block - block
* @param {boolean} isMethodDefinition - is method definition
* @param {boolean} useDirective - use directive
* @returns {boolean} is strict scope
*/
function isStrictScope(scope, block, isMethodDefinition, useDirective) {... |
1,283,562 | 341451282285de330f41d70a206b6379 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=140-150/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | shouldBeStatically | function | /**
* Should be statically
* @param {Object} def - def
* @returns {boolean} should be statically
*/
function shouldBeStatically(def) {
return (
(def.type === Variable.ClassName) ||
(def.type === Variable.Variable && def.parent.kind !== "var")
);
} |
1,283,563 | edd9e923107e513c18549c1716f251c9 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=414-424/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__define | function | __define(node, def) {
if (node && node.type === Syntax.Identifier) {
this.__defineGeneric(
node.name,
this.set,
this.variables,
node,
def
);
}
} |
1,283,564 | c252c9609e0168e07d795a324d8ae89c | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=454-456/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__detectThis | function | __detectThis() {
this.thisFound = true;
} |
1,283,565 | 444f433ac25052e4682bf7eab23f144a | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=349-369/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__resolve | function | __resolve(ref) {
const name = ref.identifier.name;
if (!this.set.has(name)) {
return false;
}
const variable = this.set.get(name);
if (!this.__isValidResolution(ref, variable)) {
return false;
}
variable.references.push(ref);
vari... |
1,283,566 | c8cef8401afb14984b992a6e737095e2 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=444-452/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__detectEval | function | __detectEval() {
let current = this;
this.directCallToEvalScope = true;
do {
current.dynamic = true;
current = current.upper;
} while (current);
} |
1,283,567 | 98fa7a7b505cf04759b88e72abcc5289 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=538-568/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | GlobalScope::__close | function | __close(scopeManager) {
const implicit = [];
for (let i = 0, iz = this.__left.length; i < iz; ++i) {
const ref = this.__left[i];
if (ref.__maybeImplicitGlobal && !this.set.has(ref.identifier.name)) {
implicit.push(ref.__maybeImplicitGlobal);
}
... |
1,283,568 | 9a0c8e85fe07638b7f23b15f4f6eee6e | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=640-642/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | SwitchScope::constructor | function | constructor(scopeManager, upperScope, block) {
super(scopeManager, "switch", upperScope, block, false);
} |
1,283,569 | 3db217fbfc95f64e8b6a48c1e30e9d85 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=698-719/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | FunctionScope::__isValidResolution | function | // References in default parameters isn't resolved to variables which are in their function body.
// const x = 1
// function f(a = x) { // This `x` is resolved to the `x` in the outer scope.
// const x = 2
// console.log(a)
// }
__isValidResolution(ref, variable) {
... |
1,283,570 | efe21052185cdfb6111850d6971328e2 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=687-696/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | FunctionScope::__defineArguments | function | __defineArguments() {
this.__defineGeneric(
"arguments",
this.set,
this.variables,
null,
null
);
this.taints.set("arguments", true);
} |
1,283,571 | 82ab1d3aa02014a680fcd33c892f800c | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=646-654/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | FunctionScope::constructor | function | constructor(scopeManager, upperScope, block, isMethodDefinition) {
super(scopeManager, "function", upperScope, block, isMethodDefinition);
// section 9.2.13, FunctionDeclarationInstantiation.
// NOTE Arrow functions never have an arguments objects.
if (this.block.type !== Syntax.ArrowFu... |
1,283,572 | f609fd9a14953a293e7be464f1c04a23 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=293-297/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__staticCloseRef | function | __staticCloseRef(ref) {
if (!this.__resolve(ref)) {
this.__delegateToUpperScope(ref);
}
} |
1,283,573 | 44fdcdd1b71698a82274a446e6237251 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=299-308/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__dynamicCloseRef | function | __dynamicCloseRef(ref) {
// notify all names are through to global
let current = this;
do {
current.through.push(ref);
current = current.upper;
} while (current);
} |
1,283,574 | d00c7f9788e1916e0ce2b1589bc27ce8 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=343-347/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__isValidResolution | function | // To override by function scopes.
// References in default parameters isn't resolved to variables which are in their function body.
__isValidResolution(ref, variable) { // eslint-disable-line class-methods-use-this, no-unused-vars
return true;
} |
1,283,575 | ad37cfd22e57e2235e4899b7b331a6ed | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=462-480/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::resolve | function | /**
* returns resolved {Reference}
* @method Scope#resolve
* @param {Espree.Identifier} ident - identifier to be resolved.
* @returns {Reference} reference
*/
resolve(ident) {
let ref, i, iz;
assert(this.__isClosed(), "Scope should be closed.");
assert(ident.type ==... |
1,283,576 | 856b1baebd1fc02ab42b2d8ec7e1f036 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=491-498/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::isArgumentsMaterialized | function | /**
* returns this scope has materialized arguments
* @method Scope#isArgumentsMaterialized
* @returns {boolean} arguemnts materialized
*/
isArgumentsMaterialized() { // eslint-disable-line class-methods-use-this
return true;
} |
1,283,577 | 384633cf3ca67b81a75946e06cfa116a | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=500-507/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::isThisMaterialized | function | /**
* returns this scope has materialized `this` reference
* @method Scope#isThisMaterialized
* @returns {boolean} this materialized
*/
isThisMaterialized() { // eslint-disable-line class-methods-use-this
return true;
} |
1,283,578 | 0291ddc56c6055d3f8510592beb0a67d | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=523-536/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | GlobalScope::constructor | function | constructor(scopeManager, block) {
super(scopeManager, "global", null, block, false);
this.implicit = {
set: new Map(),
variables: [],
/**
* List of {@link Reference}s that are left to be resolved (i.e. which
* need to be linked to the variabl... |
1,283,579 | 88468a3c2bfc0837206e1a93a3021bfa | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=570-580/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | GlobalScope::__defineImplicit | function | __defineImplicit(node, def) {
if (node && node.type === Syntax.Identifier) {
this.__defineGeneric(
node.name,
this.implicit.set,
this.implicit.variables,
node,
def
);
}
} |
1,283,580 | 48c975de74c2ed3d1c52b4bf089bf832 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=584-586/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | ModuleScope::constructor | function | constructor(scopeManager, upperScope, block) {
super(scopeManager, "module", upperScope, block, false);
} |
1,283,581 | 513cb628ddd7beaa6db7c266917fae5f | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=616-630/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | WithScope::__close | function | __close(scopeManager) {
if (this.__shouldStaticallyClose(scopeManager)) {
return super.__close(scopeManager);
}
for (let i = 0, iz = this.__left.length; i < iz; ++i) {
const ref = this.__left[i];
ref.tainted = true;
this.__delegateToUpperScope(re... |
1,283,582 | a0b1f1125d8b227821f68e024d7436be | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=729-731/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | ClassScope::constructor | function | constructor(scopeManager, upperScope, block) {
super(scopeManager, "class", upperScope, block, false);
} |
1,283,583 | d95029af73412b1e9b5e9a4ae0d97551 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=274-276/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__shouldStaticallyClose | function | __shouldStaticallyClose(scopeManager) {
return (!this.dynamic || scopeManager.__isOptimistic());
} |
1,283,584 | 17d471c051fd56ad9cd939d3965e9c7a | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=278-291/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__shouldStaticallyCloseForGlobal | function | __shouldStaticallyCloseForGlobal(ref) {
// On global scope, let/const/class declarations should be resolved statically.
const name = ref.identifier.name;
if (!this.set.has(name)) {
return false;
}
const variable = this.set.get(name);
const defs = variable.d... |
1,283,585 | a8e67b19db15647027e6e3343e33a42b | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=321-341/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__close | function | __close(scopeManager) {
let closeRef;
if (this.__shouldStaticallyClose(scopeManager)) {
closeRef = this.__staticCloseRef;
} else if (this.type !== "global") {
closeRef = this.__dynamicCloseRef;
} else {
closeRef = this.__globalCloseRef;
}
... |
1,283,586 | e7525c5b5bf92817de8a800aa61e5189 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=394-412/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__defineGeneric | function | __defineGeneric(name, set, variables, node, def) {
let variable;
variable = set.get(name);
if (!variable) {
variable = new Variable(name, this);
set.set(name, variable);
variables.push(variable);
}
if (def) {
variable.defs.push(de... |
1,283,587 | 1cb84010ef0fd1276b3dbca73a075542 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=426-442/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::__referencing | function | __referencing(node, assign, writeExpr, maybeImplicitGlobal, partial, init) {
// because Array element may be null
if (!node || node.type !== Syntax.Identifier) {
return;
}
// Specially handle like `this`.
if (node.name === "super") {
return;
}
... |
1,283,588 | 34166a149a513ca276eb91c1efb44fa2 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=482-489/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope::isStatic | function | /**
* returns this scope is static
* @method Scope#isStatic
* @returns {boolean} static
*/
isStatic() {
return !this.dynamic;
} |
1,283,589 | 0d5b49bd700bcfbd801371fe7670bb4c | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=590-602/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | FunctionExpressionNameScope::constructor | function | constructor(scopeManager, upperScope, block) {
super(scopeManager, "function-expression-name", upperScope, block, false);
this.__define(block.id,
new Definition(
Variable.FunctionName,
block.id,
block,
null,
null... |
1,283,590 | 26959145511a7f1d58b7a8f7af50e414 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=656-678/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | FunctionScope::isArgumentsMaterialized | function | isArgumentsMaterialized() {
// TODO(Constellation)
// We can more aggressive on this condition like this.
//
// function t() {
// // arguments of t is always hidden.
// function arguments() {
// }
// }
if (this.block.type === Syntax.Ar... |
1,283,591 | 07f63b8bdd31d1710b9d2f9419d096a8 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=723-725/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | ForScope::constructor | function | constructor(scopeManager, upperScope, block) {
super(scopeManager, "for", upperScope, block, false);
} |
1,283,592 | e4a1abdd69a951864a1c86b61dffcbce | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=152-520/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | Scope | type | /**
* @class Scope
*/
class Scope {
constructor(scopeManager, type, upperScope, block, isMethodDefinition) {
/**
* One of 'module', 'block', 'switch', 'function', 'catch', 'with', 'function', 'class', 'global'.
* @member {String} Scope#type
*/
this.type = type;
... |
1,283,593 | 0c597c3b13913435ae487cf9322ca807 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=522-581/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | GlobalScope | type | class GlobalScope extends Scope {
constructor(scopeManager, block) {
super(scopeManager, "global", null, block, false);
this.implicit = {
set: new Map(),
variables: [],
/**
* List of {@link Reference}s that are left to be resolved (i.e. which
... |
1,283,594 | ce40ffe044b3278d6b5d2ecef6f60673 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=589-603/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | FunctionExpressionNameScope | type | class FunctionExpressionNameScope extends Scope {
constructor(scopeManager, upperScope, block) {
super(scopeManager, "function-expression-name", upperScope, block, false);
this.__define(block.id,
new Definition(
Variable.FunctionName,
block.id,
... |
1,283,595 | 00aacd2d970cd69d12c7cb57d4bb1095 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=583-587/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | ModuleScope | type | class ModuleScope extends Scope {
constructor(scopeManager, upperScope, block) {
super(scopeManager, "module", upperScope, block, false);
}
} |
1,283,596 | 7e9cad8eee549e0ae83d49e10de74dfa | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=605-609/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | CatchScope | type | class CatchScope extends Scope {
constructor(scopeManager, upperScope, block) {
super(scopeManager, "catch", upperScope, block, false);
}
} |
1,283,597 | 07efb2eb16c25dbadf005cb121ccd25d | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=611-631/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | WithScope | type | class WithScope extends Scope {
constructor(scopeManager, upperScope, block) {
super(scopeManager, "with", upperScope, block, false);
}
__close(scopeManager) {
if (this.__shouldStaticallyClose(scopeManager)) {
return super.__close(scopeManager);
}
for (let i = 0... |
1,283,598 | 0044a9564ec3801fe17d8f62af023a9d | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=633-637/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | BlockScope | type | class BlockScope extends Scope {
constructor(scopeManager, upperScope, block) {
super(scopeManager, "block", upperScope, block, false);
}
} |
1,283,599 | a223e7495a909583aef51e8f2214c4b4 | swh:1:cnt:bdb5f637f684e5d6490abcd9a001a9e09a35d1da;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=639-643/ | 5fa5afd30645c4be30be3807b9c1b88fefe768f7 | wlbdashboard | wmcs | node_modules/webpack/node_modules/eslint-scope/lib/scope.js | SwitchScope | type | class SwitchScope extends Scope {
constructor(scopeManager, upperScope, block) {
super(scopeManager, "switch", upperScope, block, false);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.