renamed "modulescope" to "module_scope"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:43 +02:00
parent 5f06bf05bd
commit 93aa812744
3 changed files with 3 additions and 3 deletions

View File

@@ -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() }

View File

@@ -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

View File

@@ -646,7 +646,7 @@
<v>1272</v>
</e>
<e>
<k>@modulescope</k>
<k>@module_scope</k>
<v>21</v>
</e>
<e>