Main MRPT website > C++ reference for MRPT 1.5.3
Classes | Enumerations | Functions
exprtk::parser_error Namespace Reference

Classes

struct  type
 

Enumerations

enum  error_mode {
  e_unknown = 0, e_syntax = 1, e_token = 2, e_numeric = 4,
  e_symtab = 5, e_lexer = 6, e_helper = 7
}
 

Functions

type make_error (error_mode mode, const std::string &diagnostic="")
 
type make_error (error_mode mode, const lexer::token &tk, const std::string &diagnostic="")
 
std::string to_str (error_mode mode)
 
bool update_error (type &error, const std::string &expression)
 
void dump_error (const type &error)
 

Enumeration Type Documentation

◆ error_mode

Enumerator
e_unknown 
e_syntax 
e_token 
e_numeric 
e_symtab 
e_lexer 
e_helper 

Definition at line 17786 of file exprtk.hpp.

Function Documentation

◆ dump_error()

void exprtk::parser_error::dump_error ( const type error)
inline

◆ make_error() [1/2]

type exprtk::parser_error::make_error ( error_mode  mode,
const std::string &  diagnostic = "" 
)
inline

◆ make_error() [2/2]

type exprtk::parser_error::make_error ( error_mode  mode,
const lexer::token tk,
const std::string &  diagnostic = "" 
)
inline

Definition at line 17823 of file exprtk.hpp.

References exprtk::parser_error::type::diagnostic, exprtk_debug, exprtk::parser_error::type::mode, exprtk::details::t(), and exprtk::parser_error::type::token.

Referenced by exprtk::parser< T >::compile(), exprtk::parser< T >::parse_base_function_call(), exprtk::parser< T >::parse_base_operation(), exprtk::parser< T >::parse_branch(), exprtk::parser< T >::parse_break_statement(), exprtk::parser< T >::parse_conditional_statement(), exprtk::parser< T >::parse_conditional_statement_01(), exprtk::parser< T >::parse_conditional_statement_02(), exprtk::parser< T >::parse_const_string(), exprtk::parser< T >::parse_continue_statement(), exprtk::parser< T >::parse_corpus(), exprtk::parser< T >::parse_define_string_statement(), exprtk::parser< T >::parse_define_var_statement(), exprtk::parser< T >::parse_define_vector_statement(), exprtk::parser< T >::parse_expression(), exprtk::parser< T >::parse_for_loop(), exprtk::parser< T >::parse_function_call(), exprtk::parser< T >::parse_function_call_0(), exprtk::parser< T >::parse_function_invocation(), exprtk::parser< T >::parse_generic_function_call(), exprtk::parser< T >::parse_multi_sequence(), exprtk::parser< T >::parse_multi_switch_statement(), exprtk::parser< T >::parse_range(), exprtk::parser< T >::parse_repeat_until_loop(), exprtk::parser< T >::parse_return_statement(), exprtk::parser< T >::parse_special_function(), exprtk::parser< T >::parse_string(), exprtk::parser< T >::parse_string_function_call(), exprtk::parser< T >::parse_string_range_statement(), exprtk::parser< T >::parse_swap_statement(), exprtk::parser< T >::parse_switch_statement(), exprtk::parser< T >::parse_symbol(), exprtk::parser< T >::parse_symtab_symbol(), exprtk::parser< T >::parse_ternary_conditional_statement(), exprtk::parser< T >::parse_uninitialised_var_statement(), exprtk::parser< T >::parse_vararg_function(), exprtk::parser< T >::parse_vararg_function_call(), exprtk::parser< T >::parse_vector(), exprtk::parser< T >::parse_while_loop(), exprtk::parser< T >::post_bracket_process(), exprtk::parser< T >::post_variable_process(), exprtk::parser< T >::parse_special_function_impl< Type, NumberOfParameters >::process(), exprtk::parser< T >::process_lexer_errors(), exprtk::parser< T >::run_assemblies(), exprtk::parser< T >::simplify_unary_negation_branch(), exprtk::parser< T >::type_checker::split(), and exprtk::parser< T >::type_checker::verify().

◆ to_str()

std::string exprtk::parser_error::to_str ( error_mode  mode)
inline

◆ update_error()

bool exprtk::parser_error::update_error ( type error,
const std::string &  expression 
)
inline



Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Sun Nov 26 00:44:48 UTC 2017