Rename identifier_ string to name_ inside Identifier
This commit is contained in:
parent
915688b0d7
commit
40e842286d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user