AST: rename getVariable to getVariableExpr

This commit is contained in:
Arthur Baars
2021-02-12 12:10:50 +01:00
parent 43b238f729
commit 63f67aa04e
2 changed files with 2 additions and 2 deletions

View File

@@ -252,7 +252,7 @@ class Rescue extends Expr, @rescue {
* end
* ```
*/
final Expr getVariable() { result = range.getVariable() }
final Expr getVariableExpr() { result = range.getVariableExpr() }
/**
* Gets the exception handler body.

View File

@@ -264,7 +264,7 @@ module Rescue {
final Expr getException(int n) { result = generated.getExceptions().getChild(n) }
final Expr getVariable() { result = generated.getVariable() }
final Expr getVariableExpr() { result = generated.getVariable() }
final StmtSequence getBody() { result = generated.getBody() }