mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
renamed "functionscope" to "function_scope"
This commit is contained in:
@@ -62,7 +62,7 @@ class ModuleScope extends Scope, @modulescope {
|
||||
}
|
||||
|
||||
/** A scope induced by a function. */
|
||||
class FunctionScope extends Scope, @functionscope {
|
||||
class FunctionScope extends Scope, @function_scope {
|
||||
/** Gets the function that induces this scope. */
|
||||
Function getFunction() { result = getScopeElement() }
|
||||
|
||||
|
||||
@@ -410,7 +410,7 @@ scopes (unique int id: @scope,
|
||||
|
||||
case @scope.kind of
|
||||
0 = @global_scope
|
||||
| 1 = @functionscope
|
||||
| 1 = @function_scope
|
||||
| 2 = @catchscope
|
||||
| 3 = @modulescope
|
||||
| 4 = @blockscope
|
||||
|
||||
@@ -638,7 +638,7 @@
|
||||
<v>1</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@functionscope</k>
|
||||
<k>@function_scope</k>
|
||||
<v>116245</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user