mirror of
https://github.com/github/codeql.git
synced 2026-02-21 01:13:43 +01:00
AST: make some classes instance of Scope
This commit is contained in:
@@ -4,7 +4,7 @@ private import internal.AST
|
||||
private import internal.TreeSitter
|
||||
|
||||
/** A callable. */
|
||||
class Callable extends Expr, TCallable {
|
||||
class Callable extends Expr, Scope, TCallable {
|
||||
/** Gets the number of parameters of this callable. */
|
||||
final int getNumberOfParameters() { result = count(this.getAParameter()) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user