PulseView  unreleased development snapshot
A Qt-based sigrok GUI
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 

Definition at line 18173 of file exprtk.hpp.

Function Documentation

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

Definition at line 18285 of file exprtk.hpp.

Here is the call graph for this function:

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

Definition at line 18201 of file exprtk.hpp.

Here is the call graph for this function:

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

Definition at line 18214 of file exprtk.hpp.

Here is the call graph for this function:

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

Definition at line 18228 of file exprtk.hpp.

Here is the caller graph for this function:

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

Definition at line 18243 of file exprtk.hpp.

Here is the call graph for this function:

Here is the caller graph for this function: