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

#include <exprtk.hpp>

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

Public Member Functions

 sequence_validator_3tokens ()
 
bool result ()
 
bool operator() (const lexer::token &t0, const lexer::token &t1, const lexer::token &t2)
 
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 &)
 
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 lexer::token::token_type token_t
 
typedef std::pair< token_t, std::pair< token_t, token_t > > token_triplet_t
 
typedef std::set< token_triplet_tset_t
 

Private Member Functions

void add_invalid (token_t t0, token_t t1, token_t t2)
 

Private Attributes

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

Detailed Description

Definition at line 3812 of file exprtk.hpp.

Member Typedef Documentation

Definition at line 3817 of file exprtk.hpp.

Constructor & Destructor Documentation

exprtk::lexer::helper::sequence_validator_3tokens::sequence_validator_3tokens ( )
inline

Definition at line 3824 of file exprtk.hpp.

Member Function Documentation

void exprtk::lexer::helper::sequence_validator_3tokens::add_invalid ( token_t  t0,
token_t  t1,
token_t  t2 
)
inlineprivate

Definition at line 3888 of file exprtk.hpp.

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

Definition at line 3881 of file exprtk.hpp.

Here is the caller graph for this function:

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

Definition at line 3868 of file exprtk.hpp.

Here is the caller graph for this function:

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

Definition at line 3863 of file exprtk.hpp.

Here is the caller graph for this function:

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

Reimplemented from exprtk::lexer::token_scanner.

Definition at line 3851 of file exprtk.hpp.

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

Reimplemented from exprtk::lexer::helper_interface.

Definition at line 3846 of file exprtk.hpp.

Member Data Documentation

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

Definition at line 3894 of file exprtk.hpp.

set_t exprtk::lexer::helper::sequence_validator_3tokens::invalid_comb_
private

Definition at line 3893 of file exprtk.hpp.


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