mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "comprehensionblockscope" to "comprehension_block_scope"
This commit is contained in:
@@ -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() }
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user