#include <exprtk.hpp>
Public Member Functions | |
bool | add_replace (const std::string &target_symbol, const std::string &replace_symbol, const lexer::token::token_type token_type=lexer::token::e_symbol) |
void | clear () |
bool | remove (const std::string &target_symbol) |
Private Types | |
typedef std::map< std::string, std::pair< std::string, token::token_type > , details::ilesscompare > | replace_map_t |
Private Member Functions | |
bool | modify (lexer::token &t) |
Private Attributes | |
replace_map_t | replace_map_ |
Definition at line 2752 of file exprtk.hpp.
typedef std::map<std::string,std::pair<std::string,token::token_type>,details::ilesscompare> exprtk::lexer::helper::symbol_replacer::replace_map_t [private] |
Definition at line 2756 of file exprtk.hpp.
bool exprtk::lexer::helper::symbol_replacer::add_replace | ( | const std::string & | target_symbol, |
const std::string & | replace_symbol, | ||
const lexer::token::token_type | token_type = lexer::token::e_symbol |
||
) | [inline] |
Definition at line 2769 of file exprtk.hpp.
void exprtk::lexer::helper::symbol_replacer::clear | ( | ) | [inline] |
Definition at line 2782 of file exprtk.hpp.
bool exprtk::lexer::helper::symbol_replacer::modify | ( | lexer::token & | t | ) | [inline, private, virtual] |
Implements exprtk::lexer::token_modifier.
Definition at line 2789 of file exprtk.hpp.
bool exprtk::lexer::helper::symbol_replacer::remove | ( | const std::string & | target_symbol | ) | [inline] |
Definition at line 2760 of file exprtk.hpp.
Definition at line 2807 of file exprtk.hpp.