From 63f67aa04e2a901de1d9699dfa7789efedf32117 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Fri, 12 Feb 2021 12:10:50 +0100 Subject: [PATCH] AST: rename getVariable to getVariableExpr --- ql/src/codeql_ruby/ast/Expr.qll | 2 +- ql/src/codeql_ruby/ast/internal/Expr.qll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ql/src/codeql_ruby/ast/Expr.qll b/ql/src/codeql_ruby/ast/Expr.qll index 864946672fe..dd927f2a37e 100644 --- a/ql/src/codeql_ruby/ast/Expr.qll +++ b/ql/src/codeql_ruby/ast/Expr.qll @@ -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. diff --git a/ql/src/codeql_ruby/ast/internal/Expr.qll b/ql/src/codeql_ruby/ast/internal/Expr.qll index 9232933828c..b61d54835ee 100644 --- a/ql/src/codeql_ruby/ast/internal/Expr.qll +++ b/ql/src/codeql_ruby/ast/internal/Expr.qll @@ -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() }