mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Make Call a subclass of ExprParent. All of its subclasses are in any case (via Expr or Stmt)
This commit is contained in:
@@ -1808,7 +1808,7 @@ class WildcardTypeAccess extends Expr, @wildcardtypeaccess {
|
|||||||
* This includes method calls, constructor and super constructor invocations,
|
* This includes method calls, constructor and super constructor invocations,
|
||||||
* and constructors invoked through class instantiation.
|
* and constructors invoked through class instantiation.
|
||||||
*/
|
*/
|
||||||
class Call extends Top, @caller {
|
class Call extends ExprParent, @caller {
|
||||||
/** Gets an argument supplied in this call. */
|
/** Gets an argument supplied in this call. */
|
||||||
/*abstract*/ Expr getAnArgument() { none() }
|
/*abstract*/ Expr getAnArgument() { none() }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user