mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "modulescope" to "module_scope"
This commit is contained in:
@@ -54,7 +54,7 @@ class LocalScope extends Scope {
|
||||
/**
|
||||
* A scope induced by a Node.js or ES2015 module
|
||||
*/
|
||||
class ModuleScope extends Scope, @modulescope {
|
||||
class ModuleScope extends Scope, @module_scope {
|
||||
/** Gets the module that induces this scope. */
|
||||
Module getModule() { result = getScopeElement() }
|
||||
|
||||
|
||||
@@ -412,7 +412,7 @@ case @scope.kind of
|
||||
0 = @global_scope
|
||||
| 1 = @function_scope
|
||||
| 2 = @catch_scope
|
||||
| 3 = @modulescope
|
||||
| 3 = @module_scope
|
||||
| 4 = @blockscope
|
||||
| 5 = @forscope
|
||||
| 6 = @forinscope // for-of scopes work the same as for-in scopes
|
||||
|
||||
@@ -646,7 +646,7 @@
|
||||
<v>1272</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@modulescope</k>
|
||||
<k>@module_scope</k>
|
||||
<v>21</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user