@@ -46,17 +46,6 @@ class Expr extends ExprParent, @expr {
46
46
*/
47
47
int getKind ( ) { exprs ( this , result , _, _, _) }
48
48
49
- /**
50
- * DEPRECATED: This is no longer necessary. See `Expr.isParenthesized()`.
51
- *
52
- * Gets this expression with any surrounding parentheses removed.
53
- */
54
- deprecated Expr getProperExpr ( ) {
55
- result = this .( ParExpr ) .getExpr ( ) .getProperExpr ( )
56
- or
57
- result = this and not this instanceof ParExpr
58
- }
59
-
60
49
/** Gets the statement containing this expression, if any. */
61
50
Stmt getEnclosingStmt ( ) { statementEnclosingExpr ( this , result ) }
62
51
@@ -1318,19 +1307,6 @@ class SwitchExpr extends Expr, StmtParent, @switchexpr {
1318
1307
override string getAPrimaryQlClass ( ) { result = "SwitchExpr" }
1319
1308
}
1320
1309
1321
- /**
1322
- * DEPRECATED: Use `Expr.isParenthesized()` instead.
1323
- *
1324
- * A parenthesised expression.
1325
- */
1326
- deprecated class ParExpr extends Expr , @parexpr {
1327
- /** Gets the expression inside the parentheses. */
1328
- deprecated Expr getExpr ( ) { result .getParent ( ) = this }
1329
-
1330
- /** Gets a printable representation of this expression. */
1331
- override string toString ( ) { result = "(...)" }
1332
- }
1333
-
1334
1310
/** An `instanceof` expression. */
1335
1311
class InstanceOfExpr extends Expr , @instanceofexpr {
1336
1312
/** Gets the expression on the left-hand side of the `instanceof` operator. */
0 commit comments