Electroneum
Public Types | Public Member Functions | Private Attributes | List of all members
mstch::in_section Class Reference

#include <in_section.hpp>

Inheritance diagram for mstch::in_section:
Inheritance graph
[legend]
Collaboration diagram for mstch::in_section:
Collaboration graph
[legend]

Public Types

enum  type { type::inverted, type::normal }
 

Public Member Functions

 in_section (type type, const token &start_token)
 
std::string render (render_context &context, const token &token) override
 
- Public Member Functions inherited from mstch::render_state
virtual ~render_state ()
 

Private Attributes

const type m_type
 
const tokenm_start_token
 
template_type m_section
 
int m_skipped_openings
 

Member Enumeration Documentation

◆ type

Enumerator
inverted 
normal 

Constructor & Destructor Documentation

◆ in_section()

in_section::in_section ( type  type,
const token start_token 
)

Member Function Documentation

◆ render()

std::string in_section::render ( render_context context,
const token token 
)
overridevirtual

Implements mstch::render_state.

Member Data Documentation

◆ m_section

template_type mstch::in_section::m_section
private

◆ m_skipped_openings

int mstch::in_section::m_skipped_openings
private

◆ m_start_token

const token& mstch::in_section::m_start_token
private

◆ m_type

const type mstch::in_section::m_type
private

The documentation for this class was generated from the following files: