PulseView  unreleased development snapshot
A Qt-based sigrok GUI
exprtk::lexer::helper::sequence_validator Class Reference

#include <exprtk.hpp>

Inheritance diagram for exprtk::lexer::helper::sequence_validator:
Collaboration diagram for exprtk::lexer::helper::sequence_validator:

Public Member Functions

 sequence_validator ()
 
bool result ()
 
bool operator() (const lexer::token &t0, const lexer::token &t1)
 
std::size_t error_count () const
 
std::pair< lexer::token, lexer::tokenerror (const std::size_t index)
 
void clear_errors ()
 
- Public Member Functions inherited from exprtk::lexer::token_scanner
virtual ~token_scanner ()
 
 token_scanner (const std::size_t &stride)
 
std::size_t process (generator &g)
 
virtual bool operator() (const token &)
 
virtual bool operator() (const token &, const token &, const token &)
 
virtual bool operator() (const token &, const token &, const token &, const token &)
 
- Public Member Functions inherited from exprtk::lexer::helper_interface
virtual void init ()
 
virtual void reset ()
 
virtual ~helper_interface ()
 

Private Types

typedef std::pair< lexer::token::token_type, lexer::token::token_typetoken_pair_t
 
typedef std::set< token_pair_tset_t
 

Private Member Functions

void add_invalid (lexer::token::token_type base, lexer::token::token_type t)
 
void add_invalid_set1 (lexer::token::token_type t)
 
bool invalid_bracket_check (lexer::token::token_type base, lexer::token::token_type t)
 

Private Attributes

set_t invalid_comb_
 
std::vector< std::pair< lexer::token, lexer::token > > error_list_
 

Detailed Description

Definition at line 3640 of file exprtk.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

exprtk::lexer::helper::sequence_validator::sequence_validator ( )
inline

Definition at line 3651 of file exprtk.hpp.

Member Function Documentation

void exprtk::lexer::helper::sequence_validator::add_invalid ( lexer::token::token_type  base,
lexer::token::token_type  t 
)
inlineprivate

Definition at line 3725 of file exprtk.hpp.

void exprtk::lexer::helper::sequence_validator::add_invalid_set1 ( lexer::token::token_type  t)
inlineprivate

Definition at line 3730 of file exprtk.hpp.

void exprtk::lexer::helper::sequence_validator::clear_errors ( )
inline

Definition at line 3718 of file exprtk.hpp.

Here is the caller graph for this function:

std::pair<lexer::token,lexer::token> exprtk::lexer::helper::sequence_validator::error ( const std::size_t  index)
inline

Definition at line 3705 of file exprtk.hpp.

Here is the caller graph for this function:

std::size_t exprtk::lexer::helper::sequence_validator::error_count ( ) const
inline

Definition at line 3700 of file exprtk.hpp.

Here is the caller graph for this function:

bool exprtk::lexer::helper::sequence_validator::invalid_bracket_check ( lexer::token::token_type  base,
lexer::token::token_type  t 
)
inlineprivate

Definition at line 3749 of file exprtk.hpp.

Here is the call graph for this function:

bool exprtk::lexer::helper::sequence_validator::operator() ( const lexer::token t0,
const lexer::token t1 
)
inlinevirtual

Reimplemented from exprtk::lexer::token_scanner.

Definition at line 3684 of file exprtk.hpp.

bool exprtk::lexer::helper::sequence_validator::result ( )
inlinevirtual

Reimplemented from exprtk::lexer::helper_interface.

Definition at line 3679 of file exprtk.hpp.

Member Data Documentation

std::vector<std::pair<lexer::token,lexer::token> > exprtk::lexer::helper::sequence_validator::error_list_
private

Definition at line 3809 of file exprtk.hpp.

set_t exprtk::lexer::helper::sequence_validator::invalid_comb_
private

Definition at line 3808 of file exprtk.hpp.


The documentation for this class was generated from the following file: