Electroneum
render_state.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
5 #include "token.hpp"
6 
7 namespace mstch {
8 
9 class render_context;
10 
11 class render_state {
12  public:
13  virtual ~render_state() {}
14  virtual std::string render(render_context& context, const token& token) = 0;
15 };
16 
17 }
virtual ~render_state()
Definition: render_state.hpp:13
Definition: mstch.hpp:11
Definition: render_context.hpp:15
virtual std::string render(render_context &context, const token &token)=0
Definition: token.hpp:9
Definition: render_state.hpp:11
json::wvalue context
Definition: mustache.h:12