renamed "blockscope" to "block_scope"

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

View File

@@ -78,7 +78,7 @@ class CatchScope extends Scope, @catch_scope {
}
/** 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. */
BlockStmt getBlock() { result = getScopeElement() }

View File

@@ -413,7 +413,7 @@ case @scope.kind of
| 1 = @function_scope
| 2 = @catch_scope
| 3 = @module_scope
| 4 = @blockscope
| 4 = @block_scope
| 5 = @forscope
| 6 = @forinscope // for-of scopes work the same as for-in scopes
| 7 = @comprehensionblockscope

View File

@@ -650,7 +650,7 @@
<v>21</v>
</e>
<e>
<k>@blockscope</k>
<k>@block_scope</k>
<v>584</v>
</e>
<e>