mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
renamed "blockscope" to "block_scope"
This commit is contained in:
@@ -78,7 +78,7 @@ class CatchScope extends Scope, @catch_scope {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** A scope induced by a block of statements. */
|
/** A scope induced by a block of statements. */
|
||||||
class BlockScope extends Scope, @blockscope {
|
class BlockScope extends Scope, @block_scope {
|
||||||
/** Gets the block of statements that induces this scope. */
|
/** Gets the block of statements that induces this scope. */
|
||||||
BlockStmt getBlock() { result = getScopeElement() }
|
BlockStmt getBlock() { result = getScopeElement() }
|
||||||
|
|
||||||
|
|||||||
@@ -413,7 +413,7 @@ case @scope.kind of
|
|||||||
| 1 = @function_scope
|
| 1 = @function_scope
|
||||||
| 2 = @catch_scope
|
| 2 = @catch_scope
|
||||||
| 3 = @module_scope
|
| 3 = @module_scope
|
||||||
| 4 = @blockscope
|
| 4 = @block_scope
|
||||||
| 5 = @forscope
|
| 5 = @forscope
|
||||||
| 6 = @forinscope // for-of scopes work the same as for-in scopes
|
| 6 = @forinscope // for-of scopes work the same as for-in scopes
|
||||||
| 7 = @comprehensionblockscope
|
| 7 = @comprehensionblockscope
|
||||||
|
|||||||
@@ -650,7 +650,7 @@
|
|||||||
<v>21</v>
|
<v>21</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
<k>@blockscope</k>
|
<k>@block_scope</k>
|
||||||
<v>584</v>
|
<v>584</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
Reference in New Issue
Block a user