renamed "forinscope" to "for_in_scope"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:45 +02:00
parent 310f9708ea
commit 9be0740b93
3 changed files with 3 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ class ForScope extends Scope, @for_scope {
}
/** A scope induced by a `for`-`in` or `for`-`of` statement. */
class ForInScope extends Scope, @forinscope {
class ForInScope extends Scope, @for_in_scope {
/** Gets the `for`-`in` or `for`-`of` statement that induces this scope. */
EnhancedForLoop getLoop() { result = getScopeElement() }

View File

@@ -415,7 +415,7 @@ case @scope.kind of
| 3 = @module_scope
| 4 = @block_scope
| 5 = @for_scope
| 6 = @forinscope // for-of scopes work the same as for-in scopes
| 6 = @for_in_scope // for-of scopes work the same as for-in scopes
| 7 = @comprehensionblockscope
| 8 = @classexprscope
| 9 = @namespacescope

View File

@@ -658,7 +658,7 @@
<v>17</v>
</e>
<e>
<k>@forinscope</k>
<k>@for_in_scope</k>
<v>28</v>
</e>
<e>