@@ -1206,13 +1206,13 @@ module Exprs {
12061206 override SubscriptExpr ast ;
12071207
12081208 final override predicate propagatesAbnormal ( ControlFlowElement child ) {
1209- child .asAstNode ( ) = ast .getBaseExpr ( ) .getFullyConverted ( )
1209+ child .asAstNode ( ) = ast .getBase ( ) .getFullyConverted ( )
12101210 or
12111211 child .asAstNode ( ) = ast .getAnArgument ( ) .getExpr ( ) .getFullyConverted ( )
12121212 }
12131213
12141214 final override predicate first ( ControlFlowElement first ) {
1215- astFirst ( ast .getBaseExpr ( ) .getFullyConverted ( ) , first )
1215+ astFirst ( ast .getBase ( ) .getFullyConverted ( ) , first )
12161216 }
12171217
12181218 final override predicate last ( ControlFlowElement last , Completion c ) {
@@ -1230,7 +1230,7 @@ module Exprs {
12301230 }
12311231
12321232 override predicate succ ( ControlFlowElement pred , ControlFlowElement succ , Completion c ) {
1233- astLast ( ast .getBaseExpr ( ) .getFullyConverted ( ) , pred , c ) and
1233+ astLast ( ast .getBase ( ) .getFullyConverted ( ) , pred , c ) and
12341234 c instanceof NormalCompletion and
12351235 astFirst ( ast .getFirstArgument ( ) .getExpr ( ) .getFullyConverted ( ) , succ )
12361236 or
@@ -1296,7 +1296,7 @@ module Exprs {
12961296 override DynamicTypeExpr ast ;
12971297
12981298 final override ControlFlowElement getChildElement ( int i ) {
1299- result .asAstNode ( ) = ast .getBaseExpr ( ) .getFullyConverted ( ) and i = 0
1299+ result .asAstNode ( ) = ast .getBase ( ) .getFullyConverted ( ) and i = 0
13001300 }
13011301 }
13021302
@@ -1427,6 +1427,14 @@ module Exprs {
14271427 }
14281428 }
14291429
1430+ class MethodRefExprTree extends AstStandardPreOrderTree {
1431+ override MethodRefExpr ast ;
1432+
1433+ override ControlFlowElement getChildElement ( int i ) {
1434+ i = 0 and result .asAstNode ( ) = ast .getBase ( ) .getFullyConverted ( )
1435+ }
1436+ }
1437+
14301438 module MemberRefs {
14311439 /**
14321440 * The control-flow of a member reference expression.
@@ -1439,11 +1447,11 @@ module Exprs {
14391447 override MemberRefExpr ast ;
14401448
14411449 final override predicate propagatesAbnormal ( ControlFlowElement child ) {
1442- child .asAstNode ( ) = ast .getBaseExpr ( ) .getFullyConverted ( )
1450+ child .asAstNode ( ) = ast .getBase ( ) .getFullyConverted ( )
14431451 }
14441452
14451453 final override predicate first ( ControlFlowElement first ) {
1446- astFirst ( ast .getBaseExpr ( ) .getFullyConverted ( ) , first )
1454+ astFirst ( ast .getBase ( ) .getFullyConverted ( ) , first )
14471455 }
14481456 }
14491457
@@ -1459,7 +1467,7 @@ module Exprs {
14591467 }
14601468
14611469 override predicate succ ( ControlFlowElement pred , ControlFlowElement succ , Completion c ) {
1462- astLast ( ast .getBaseExpr ( ) .getFullyConverted ( ) , pred , c ) and
1470+ astLast ( ast .getBase ( ) .getFullyConverted ( ) , pred , c ) and
14631471 c instanceof NormalCompletion and
14641472 succ .asAstNode ( ) = ast
14651473 }
@@ -1489,7 +1497,7 @@ module Exprs {
14891497 }
14901498
14911499 override predicate succ ( ControlFlowElement pred , ControlFlowElement succ , Completion c ) {
1492- astLast ( ast .getBaseExpr ( ) .getFullyConverted ( ) , pred , c ) and
1500+ astLast ( ast .getBase ( ) .getFullyConverted ( ) , pred , c ) and
14931501 c instanceof NormalCompletion and
14941502 succ .asAstNode ( ) = ast
14951503 }
@@ -1510,7 +1518,7 @@ module Exprs {
15101518 }
15111519
15121520 override predicate succ ( ControlFlowElement pred , ControlFlowElement succ , Completion c ) {
1513- astLast ( ast .getBaseExpr ( ) .getFullyConverted ( ) , pred , c ) and
1521+ astLast ( ast .getBase ( ) .getFullyConverted ( ) , pred , c ) and
15141522 c instanceof NormalCompletion and
15151523 isPropertyGetterElement ( succ , accessor , ast )
15161524 }
0 commit comments