Rename identifier_ string to name_ inside Identifier

This commit is contained in:
Teon Banek 2017-03-13 15:40:23 +01:00
parent 915688b0d7
commit 40e842286d

View File

@ -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 {