exprtk::lexer::generator Class Reference

#include <exprtk.hpp>

Collaboration diagram for exprtk::lexer::generator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef token token_t
typedef std::vector< token_ttoken_list_t
typedef std::vector< token_t >
::iterator 
token_list_itr_t

Public Member Functions

 generator ()
void clear ()
bool process (const std::string &str)
bool empty () const
std::size_t size () const
void begin ()
void store ()
void restore ()
token_tnext_token ()
token_tpeek_next_token ()
token_toperator[] (const std::size_t &index)
token_t operator[] (const std::size_t &index) const
bool finished () const
void insert_front (token_t::token_type tk_type)
std::string substr (const std::size_t &begin, const std::size_t &end)
std::string remaining () const

Friends

class token_scanner
class token_modifier
class token_inserter
class token_joiner

Member Typedef Documentation

typedef std::vector<token_t>::iterator exprtk::lexer::generator::token_list_itr_t

Constructor & Destructor Documentation

exprtk::lexer::generator::generator (  )  [inline]

Member Function Documentation

void exprtk::lexer::generator::begin ( void   )  [inline]
void exprtk::lexer::generator::clear ( void   )  [inline]
bool exprtk::lexer::generator::empty ( void   )  const [inline]
bool exprtk::lexer::generator::finished (  )  const [inline]
void exprtk::lexer::generator::insert_front ( token_t::token_type  tk_type  )  [inline]
token_t& exprtk::lexer::generator::next_token (  )  [inline]
token_t exprtk::lexer::generator::operator[] ( const std::size_t &  index  )  const [inline]
token_t& exprtk::lexer::generator::operator[] ( const std::size_t &  index  )  [inline]
token_t& exprtk::lexer::generator::peek_next_token (  )  [inline]
bool exprtk::lexer::generator::process ( const std::string &  str  )  [inline]
std::string exprtk::lexer::generator::remaining (  )  const [inline]
void exprtk::lexer::generator::restore (  )  [inline]
std::size_t exprtk::lexer::generator::size ( void   )  const [inline]
void exprtk::lexer::generator::store (  )  [inline]
std::string exprtk::lexer::generator::substr ( const std::size_t &  begin,
const std::size_t &  end 
) [inline]

Friends And Related Function Documentation

friend class token_inserter [friend]
friend class token_joiner [friend]
friend class token_modifier [friend]
friend class token_scanner [friend]

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