Václav Kubernát | 96344a1 | 2018-05-28 16:33:39 +0200 | [diff] [blame^] | 1 | /* |
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 | |||||
9 | #include "interpreter.hpp" | ||||
10 | |||||
11 | void Interpreter::operator()(const cd_& cd) const | ||||
12 | { | ||||
13 | m_parser.changeNode(cd.m_path); | ||||
14 | } | ||||
15 | |||||
16 | Interpreter::Interpreter(Parser& parser) | ||||
17 | : m_parser(parser) | ||||
18 | { | ||||
19 | } |