renamed "functionscope" to "function_scope"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:41 +02:00
parent 1341f4beb4
commit a871963481
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ class ModuleScope extends Scope, @modulescope {
} }
/** A scope induced by a function. */ /** A scope induced by a function. */
class FunctionScope extends Scope, @functionscope { class FunctionScope extends Scope, @function_scope {
/** Gets the function that induces this scope. */ /** Gets the function that induces this scope. */
Function getFunction() { result = getScopeElement() } Function getFunction() { result = getScopeElement() }

View File

@@ -410,7 +410,7 @@ scopes (unique int id: @scope,
case @scope.kind of case @scope.kind of
0 = @global_scope 0 = @global_scope
| 1 = @functionscope | 1 = @function_scope
| 2 = @catchscope | 2 = @catchscope
| 3 = @modulescope | 3 = @modulescope
| 4 = @blockscope | 4 = @blockscope

View File

@@ -638,7 +638,7 @@
<v>1</v> <v>1</v>
</e> </e>
<e> <e>
<k>@functionscope</k> <k>@function_scope</k>
<v>116245</v> <v>116245</v>
</e> </e>
<e> <e>