@@ -46,17 +46,6 @@ class Expr extends ExprParent, @expr {
4646 */
4747 int getKind ( ) { exprs ( this , result , _, _, _) }
4848
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-
6049 /** Gets the statement containing this expression, if any. */
6150 Stmt getEnclosingStmt ( ) { statementEnclosingExpr ( this , result ) }
6251
@@ -1318,19 +1307,6 @@ class SwitchExpr extends Expr, StmtParent, @switchexpr {
13181307 override string getAPrimaryQlClass ( ) { result = "SwitchExpr" }
13191308}
13201309
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-
13341310/** An `instanceof` expression. */
13351311class InstanceOfExpr extends Expr , @instanceofexpr {
13361312 /** Gets the expression on the left-hand side of the `instanceof` operator. */
0 commit comments