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

#include <template_type.hpp>

Public Member Functions

 template_type ()=default
 
 template_type (const std::string &str)
 
 template_type (const std::string &str, const delim_type &delims)
 
std::vector< token >::const_iterator begin () const
 
std::vector< token >::const_iterator end () const
 
void operator<< (const token &token)
 

Private Member Functions

void strip_whitespace ()
 
void process_text (citer beg, citer end)
 
void tokenize (const std::string &tmp)
 
void store_prefixes (std::vector< token >::iterator beg)
 

Private Attributes

std::vector< tokenm_tokens
 
std::string m_open
 
std::string m_close
 

Constructor & Destructor Documentation

◆ template_type() [1/3]

mstch::template_type::template_type ( )
default

◆ template_type() [2/3]

template_type::template_type ( const std::string &  str)

◆ template_type() [3/3]

template_type::template_type ( const std::string &  str,
const delim_type delims 
)

Member Function Documentation

◆ begin()

std::vector<token>::const_iterator mstch::template_type::begin ( ) const
inline

◆ end()

std::vector<token>::const_iterator mstch::template_type::end ( ) const
inline

◆ operator<<()

void mstch::template_type::operator<< ( const token token)
inline

◆ process_text()

void template_type::process_text ( citer  beg,
citer  end 
)
private

◆ store_prefixes()

void template_type::store_prefixes ( std::vector< token >::iterator  beg)
private

◆ strip_whitespace()

void template_type::strip_whitespace ( )
private

◆ tokenize()

void template_type::tokenize ( const std::string &  tmp)
private

Member Data Documentation

◆ m_close

std::string mstch::template_type::m_close
private

◆ m_open

std::string mstch::template_type::m_open
private

◆ m_tokens

std::vector<token> mstch::template_type::m_tokens
private

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