Electroneum
in_section.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <sstream>
4 #include <vector>
5 
6 #include "render_state.hpp"
7 #include "template_type.hpp"
8 
9 namespace mstch {
10 
11 class in_section: public render_state {
12  public:
13  enum class type { inverted, normal };
14  in_section(type type, const token& start_token);
15  std::string render(render_context& context, const token& token) override;
16 
17  private:
18  const type m_type;
22 };
23 
24 }
in_section(type type, const token &start_token)
Definition: in_section.cpp:8
int m_skipped_openings
Definition: in_section.hpp:21
Definition: mstch.hpp:11
std::string render(render_context &context, const token &token) override
Definition: in_section.cpp:13
const type m_type
Definition: in_section.hpp:18
Definition: template_type.hpp:11
template_type m_section
Definition: in_section.hpp:20
type
Definition: in_section.hpp:13
Definition: render_context.hpp:15
const token & m_start_token
Definition: in_section.hpp:19
Definition: in_section.hpp:11
Definition: token.hpp:9
Definition: render_state.hpp:11
json::wvalue context
Definition: mustache.h:12