exprtk::lexer::parser_helper Class Reference

#include <exprtk.hpp>

Inheritance diagram for exprtk::lexer::parser_helper:
Inheritance graph
[legend]
Collaboration diagram for exprtk::lexer::parser_helper:
Collaboration graph
[legend]

List of all members.

Public Types

typedef token token_t
typedef generator generator_t

Public Member Functions

bool init (const std::string &str)
generator_tlexer ()
const generator_tlexer () const
void store_token ()
void restore_token ()
void next_token ()
const token_tcurrent_token () const
bool token_is (const token_t::token_type &ttype, const bool advance_token=true)
bool token_is (const token_t::token_type &ttype, const std::string &value, const bool advance_token=true)
bool token_is_then_assign (const token_t::token_type &ttype, std::string &token, const bool advance_token=true)
template<typename Allocator , template< typename, typename > class Container>
bool token_is_then_assign (const token_t::token_type &ttype, Container< std::string, Allocator > &token_list, const bool advance_token=true)
bool peek_token_is (const token_t::token_type &ttype)
bool peek_token_is (const std::string &s)

Member Typedef Documentation


Member Function Documentation

const token_t& exprtk::lexer::parser_helper::current_token (  )  const [inline]
bool exprtk::lexer::parser_helper::init ( const std::string &  str  )  [inline]
const generator_t& exprtk::lexer::parser_helper::lexer (  )  const [inline]
generator_t& exprtk::lexer::parser_helper::lexer (  )  [inline]
void exprtk::lexer::parser_helper::next_token (  )  [inline]
bool exprtk::lexer::parser_helper::peek_token_is ( const std::string &  s  )  [inline]
bool exprtk::lexer::parser_helper::peek_token_is ( const token_t::token_type ttype  )  [inline]
void exprtk::lexer::parser_helper::restore_token (  )  [inline]
void exprtk::lexer::parser_helper::store_token (  )  [inline]
bool exprtk::lexer::parser_helper::token_is ( const token_t::token_type ttype,
const std::string &  value,
const bool  advance_token = true 
) [inline]
bool exprtk::lexer::parser_helper::token_is ( const token_t::token_type ttype,
const bool  advance_token = true 
) [inline]
template<typename Allocator , template< typename, typename > class Container>
bool exprtk::lexer::parser_helper::token_is_then_assign ( const token_t::token_type ttype,
Container< std::string, Allocator > &  token_list,
const bool  advance_token = true 
) [inline]
bool exprtk::lexer::parser_helper::token_is_then_assign ( const token_t::token_type ttype,
std::string &  token,
const bool  advance_token = true 
) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1