VR-Vantage 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 (const error_mode mode, const std::string &diagnostic="", const std::string &src_location="")
 
type make_error (const error_mode mode, const lexer::token &tk, const std::string &diagnostic="", const std::string &src_location="")
 
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

Enumerator
e_unknown 
e_syntax 
e_token 
e_numeric 
e_symtab 
e_lexer 
e_helper 

Function Documentation

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

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

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 >::type_checker::parse_function_prototypes(), exprtk::parser< T >::parse_generic_function_call(), exprtk::parser< T >::parse_igeneric_function_params(), exprtk::parser< T >::parse_multi_sequence(), exprtk::parser< T >::parse_multi_switch_statement(), exprtk::parser< T >::parse_overload_function_call(), 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(), and exprtk::parser< T >::type_checker::verify().

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

References e_helper, e_lexer, e_numeric, e_symtab, e_syntax, e_token, and e_unknown.

Referenced by dump_error().

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


Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)