AST: Rename function addElement -> add

This commit is contained in:
Riyyi
2023-04-07 23:38:41 +02:00
parent 5f49f08eea
commit 03918b036d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ public:
virtual bool isHashMap() const override { return true; }
void addElement(const std::string& key, ASTNodePtr value);
void add(const std::string& key, ASTNodePtr value);
const std::unordered_map<std::string, ASTNodePtr>& elements() const { return m_elements; }
size_t size() const { return m_elements.size(); }