@@ -13,7 +13,7 @@ predicate isScopeResolutionMethodCall(Generated::ScopeResolution g, Generated::I
1313}
1414
1515abstract class CallImpl extends Call {
16- abstract Expr getArgumentImpl ( int n ) ;
16+ abstract AstNode getArgumentImpl ( int n ) ;
1717
1818 /**
1919 * It is not possible to define this predicate as
@@ -28,7 +28,7 @@ abstract class CallImpl extends Call {
2828}
2929
3030abstract class MethodCallImpl extends CallImpl , MethodCall {
31- abstract Expr getReceiverImpl ( ) ;
31+ abstract AstNode getReceiverImpl ( ) ;
3232
3333 abstract string getMethodNameImpl ( ) ;
3434}
@@ -42,9 +42,9 @@ class MethodCallSynth extends MethodCallImpl, TMethodCallSynth {
4242 )
4343 }
4444
45- final override Expr getReceiverImpl ( ) { synthChild ( this , 0 , result ) }
45+ final override AstNode getReceiverImpl ( ) { synthChild ( this , 0 , result ) }
4646
47- final override Expr getArgumentImpl ( int n ) { synthChild ( this , n + 1 , result ) and n >= 0 }
47+ final override AstNode getArgumentImpl ( int n ) { synthChild ( this , n + 1 , result ) and n >= 0 }
4848
4949 final override int getNumberOfArgumentsImpl ( ) { this = TMethodCallSynth ( _, _, _, _, result ) }
5050}
@@ -56,7 +56,7 @@ class IdentifierMethodCall extends MethodCallImpl, TIdentifierMethodCall {
5656
5757 final override string getMethodNameImpl ( ) { result = g .getValue ( ) }
5858
59- final override Self getReceiverImpl ( ) { result = TSelfSynth ( this , 0 ) }
59+ final override AstNode getReceiverImpl ( ) { result = TSelfSynth ( this , 0 ) }
6060
6161 final override Expr getArgumentImpl ( int n ) { none ( ) }
6262
0 commit comments