// Copyright (c) 2019 Pantor. All rights reserved. | |
#ifndef INCLUDE_INJA_TEMPLATE_HPP_ | |
#define INCLUDE_INJA_TEMPLATE_HPP_ | |
#include <map> | |
#include <string> | |
#include <vector> | |
#include "bytecode.hpp" | |
namespace inja { | |
/*! | |
* \brief The main inja Template. | |
*/ | |
struct Template { | |
std::vector<Bytecode> bytecodes; | |
std::string content; | |
}; | |
using TemplateStorage = std::map<std::string, Template>; | |
} // namespace inja | |
#endif // INCLUDE_INJA_TEMPLATE_HPP_ |