blob: 8acf8bde9d3359834aa0e083fbfd7d29400efe5d [file] [log] [blame]
/*
* Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
* Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
*
* Written by Václav Kubernát <kubervac@fit.cvut.cz>
*
*/
#pragma once
#include <boost/variant/static_visitor.hpp>
#include "parser.hpp"
struct Interpreter : boost::static_visitor<void> {
Interpreter(Parser& parser, Schema&);
void operator()(const set_&) const;
void operator()(const cd_&) const;
void operator()(const create_&) const;
void operator()(const delete_&) const;
void operator()(const ls_&) const;
private:
Parser& m_parser;
};