GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type > Struct Template Reference

#include <chaiscript_parser.hpp>

Public Types

typedef string_type::value_type char_type

Public Member Functions

 Char_Parser (string_type &t_match, const bool t_interpolation_allowed)
Char_Parser & operator= (const Char_Parser &)=delete
 ~Char_Parser ()
void process_hex ()
void process_octal ()
void process_unicode ()
void parse (const char_type t_char, const int line, const int col, const std::string &filename)

Public Attributes

string_type & match
bool is_escaped = false
bool is_interpolated = false
bool saw_interpolation_marker = false
bool is_octal = false
bool is_hex = false
std::size_t unicode_size = 0
const bool interpolation_allowed
string_type octal_matches
string_type hex_matches

Member Typedef Documentation

◆ char_type

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
typedef string_type::value_type chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::char_type

Constructor & Destructor Documentation

◆ Char_Parser()

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::Char_Parser ( string_type & t_match,
const bool t_interpolation_allowed )
inline
Here is the caller graph for this function:

◆ ~Char_Parser()

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::~Char_Parser ( )
inline

Member Function Documentation

◆ operator=()

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
Char_Parser & chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::operator= ( const Char_Parser< string_type > & )
delete

◆ parse()

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
void chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::parse ( const char_type t_char,
const int line,
const int col,
const std::string & filename )
inline
Here is the caller graph for this function:

◆ process_hex()

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
void chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::process_hex ( )
inline
Here is the caller graph for this function:

◆ process_octal()

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
void chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::process_octal ( )
inline
Here is the caller graph for this function:

◆ process_unicode()

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
void chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::process_unicode ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ hex_matches

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
string_type chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::hex_matches

◆ interpolation_allowed

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
const bool chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::interpolation_allowed

◆ is_escaped

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
bool chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::is_escaped = false

◆ is_hex

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
bool chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::is_hex = false

◆ is_interpolated

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
bool chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::is_interpolated = false

◆ is_octal

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
bool chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::is_octal = false

◆ match

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
string_type& chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::match

◆ octal_matches

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
string_type chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::octal_matches

◆ saw_interpolation_marker

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
bool chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::saw_interpolation_marker = false

◆ unicode_size

template<typename Tracer, typename Optimizer, std::size_t Parse_Depth = 512>
template<typename string_type>
std::size_t chaiscript::parser::ChaiScript_Parser< Tracer, Optimizer, Parse_Depth >::Char_Parser< string_type >::unicode_size = 0

The documentation for this struct was generated from the following file: