renamed "comprehensionblockscope" to "comprehension_block_scope"

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

View File

@@ -102,7 +102,7 @@ class ForInScope extends Scope, @for_in_scope {
} }
/** A scope induced by a comprehension block. */ /** A scope induced by a comprehension block. */
class ComprehensionBlockScope extends Scope, @comprehensionblockscope { class ComprehensionBlockScope extends Scope, @comprehension_block_scope {
/** Gets the comprehension block that induces this scope. */ /** Gets the comprehension block that induces this scope. */
ComprehensionBlock getComprehensionBlock() { result = getScopeElement() } ComprehensionBlock getComprehensionBlock() { result = getScopeElement() }

View File

@@ -416,7 +416,7 @@ case @scope.kind of
| 4 = @block_scope | 4 = @block_scope
| 5 = @for_scope | 5 = @for_scope
| 6 = @for_in_scope // 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 | 7 = @comprehension_block_scope
| 8 = @classexprscope | 8 = @classexprscope
| 9 = @namespacescope | 9 = @namespacescope
| 10 = @classdeclscope | 10 = @classdeclscope

View File

@@ -662,7 +662,7 @@
<v>28</v> <v>28</v>
</e> </e>
<e> <e>
<k>@comprehensionblockscope</k> <k>@comprehension_block_scope</k>
<v>4</v> <v>4</v>
</e> </e>
<e> <e>