AST: make some classes instance of Scope

This commit is contained in:
Arthur Baars
2021-03-26 16:01:11 +01:00
parent eebbc7e505
commit ea9afcd4e1
3 changed files with 5 additions and 2 deletions

View File

@@ -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()) }