OpcUaCanOpen
CANopen OPC-UA server
exprtk::lexer::helper::sequence_validator_3tokens Class Reference

#include <exprtk.hpp>

Inherits exprtk::lexer::token_scanner.

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 3809 of file exprtk.hpp.

Member Typedef Documentation

◆ set_t

Definition at line 3815 of file exprtk.hpp.

◆ token_t

◆ token_triplet_t

Definition at line 3814 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ sequence_validator_3tokens()

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

Definition at line 3821 of file exprtk.hpp.

Member Function Documentation

◆ add_invalid()

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

Definition at line 3885 of file exprtk.hpp.

◆ clear_errors()

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

Definition at line 3878 of file exprtk.hpp.

◆ error()

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

Definition at line 3865 of file exprtk.hpp.

◆ error_count()

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

Definition at line 3860 of file exprtk.hpp.

◆ operator()()

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 3848 of file exprtk.hpp.

◆ result()

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

Reimplemented from exprtk::lexer::helper_interface.

Definition at line 3843 of file exprtk.hpp.

Member Data Documentation

◆ error_list_

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

Definition at line 3891 of file exprtk.hpp.

◆ invalid_comb_

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

Definition at line 3890 of file exprtk.hpp.


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