blob: a8b481d08fc5ebae9b3d39567ed91e24df8c0f5f [file] [log] [blame]
Václav Kubernát24df80e2018-06-06 15:18:03 +02001/*
2 * Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
3 * Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
4 *
5 * Written by Václav Kubernát <kubervac@fit.cvut.cz>
6 *
7*/
8#include "ast_commands.hpp"
9
10
11bool set_::operator==(const set_& b) const
12{
13 return this->m_path == b.m_path && this->m_data == b.m_data;
14}
15
16bool cd_::operator==(const cd_& b) const
17{
18 return this->m_path == b.m_path;
19}
20
21bool create_::operator==(const create_& b) const
22{
23 return this->m_path == b.m_path;
24}
25
26bool delete_::operator==(const delete_& b) const
27{
28 return this->m_path == b.m_path;
29}