From 40e842286d7031cfd68dfbeb63ad4579a9b5e997 Mon Sep 17 00:00:00 2001 From: Teon Banek Date: Mon, 13 Mar 2017 15:40:23 +0100 Subject: [PATCH] Rename identifier_ string to name_ inside Identifier --- src/query/frontend/ast/ast.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/query/frontend/ast/ast.hpp b/src/query/frontend/ast/ast.hpp index 6cb5da40e..15cb27690 100644 --- a/src/query/frontend/ast/ast.hpp +++ b/src/query/frontend/ast/ast.hpp @@ -25,8 +25,8 @@ public: class Identifier : public Expression { public: - Identifier(int uid, const std::string &identifier) - : Expression(uid), identifier_(identifier) {} + Identifier(int uid, const std::string &name) + : Expression(uid), name_(name) {} void Accept(TreeVisitorBase &visitor) override { visitor.PreVisit(*this); @@ -34,7 +34,7 @@ public: visitor.PostVisit(*this); } - std::string identifier_; + std::string name_; }; class NamedExpression : public Tree {