VR-Vantage
Loading...
Searching...
No Matches
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

◆ error_mode

Enumerator
e_unknown 
e_syntax 
e_token 
e_numeric 
e_symtab 
e_lexer 
e_helper 

Function Documentation

◆ make_error() [1/2]

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

◆ make_error() [2/2]

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

References exprtk_debug, and make_error().

◆ to_str()

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

◆ update_error()

◆ dump_error()