Electroneum
src
wallet
micro_core
ext
mstch
src
state
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
;
19
const
token
&
m_start_token
;
20
template_type
m_section
;
21
int
m_skipped_openings
;
22
};
23
24
}
mstch::in_section::in_section
in_section(type type, const token &start_token)
Definition:
in_section.cpp:8
mstch::in_section::type::normal
mstch::in_section::type::inverted
mstch::in_section::m_skipped_openings
int m_skipped_openings
Definition:
in_section.hpp:21
mstch
Definition:
mstch.hpp:11
mstch::in_section::render
std::string render(render_context &context, const token &token) override
Definition:
in_section.cpp:13
mstch::in_section::m_type
const type m_type
Definition:
in_section.hpp:18
template_type.hpp
mstch::template_type
Definition:
template_type.hpp:11
mstch::in_section::m_section
template_type m_section
Definition:
in_section.hpp:20
render_state.hpp
mstch::in_section::type
type
Definition:
in_section.hpp:13
mstch::render_context
Definition:
render_context.hpp:15
mstch::in_section::m_start_token
const token & m_start_token
Definition:
in_section.hpp:19
mstch::in_section
Definition:
in_section.hpp:11
mstch::token
Definition:
token.hpp:9
mstch::render_state
Definition:
render_state.hpp:11
crow::mustache::context
json::wvalue context
Definition:
mustache.h:12
Generated on Mon Jul 8 2019 12:00:00 for Electroneum by
1.8.14