Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
exprtk::lexer::generator Class Reference

#include <exprtk.hpp>

List of all members.

Public Types

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

Public Member Functions

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

Private Member Functions

bool is_end (const char *itr)
void scan_number ()
void scan_operator ()
void scan_special_function ()
void scan_string ()
void scan_symbol ()
void scan_token ()
void skip_comments ()
void skip_whitespace ()

Private Attributes

const char * base_itr_
token_t eof_token_
const char * s_end_
const char * s_itr_
token_list_itr_t store_token_itr_
token_list_itr_t token_itr_
token_list_t token_list_

Friends

class token_inserter
class token_joiner
class token_modifier
class token_scanner

Detailed Description

Definition at line 1676 of file exprtk.hpp.


Member Typedef Documentation

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

Definition at line 1682 of file exprtk.hpp.

Definition at line 1681 of file exprtk.hpp.

Definition at line 1680 of file exprtk.hpp.


Constructor & Destructor Documentation

Definition at line 1684 of file exprtk.hpp.


Member Function Documentation

Definition at line 1732 of file exprtk.hpp.

Definition at line 1692 of file exprtk.hpp.

bool exprtk::lexer::generator::empty ( ) const [inline]

Definition at line 1722 of file exprtk.hpp.

bool exprtk::lexer::generator::finished ( ) const [inline]

Definition at line 1784 of file exprtk.hpp.

bool exprtk::lexer::generator::is_end ( const char *  itr) [inline, private]

Definition at line 1791 of file exprtk.hpp.

Definition at line 1748 of file exprtk.hpp.

token_t& exprtk::lexer::generator::operator[] ( const std::size_t &  index) [inline]

Definition at line 1768 of file exprtk.hpp.

token_t exprtk::lexer::generator::operator[] ( const std::size_t &  index) const [inline]

Definition at line 1776 of file exprtk.hpp.

Definition at line 1758 of file exprtk.hpp.

bool exprtk::lexer::generator::process ( const std::string &  str) [inline]

Definition at line 1702 of file exprtk.hpp.

Definition at line 1743 of file exprtk.hpp.

void exprtk::lexer::generator::scan_number ( ) [inline, private]

Definition at line 1967 of file exprtk.hpp.

void exprtk::lexer::generator::scan_operator ( ) [inline, private]

Definition at line 1906 of file exprtk.hpp.

Definition at line 2049 of file exprtk.hpp.

void exprtk::lexer::generator::scan_string ( ) [inline, private]

Definition at line 2083 of file exprtk.hpp.

void exprtk::lexer::generator::scan_symbol ( ) [inline, private]

Definition at line 1952 of file exprtk.hpp.

void exprtk::lexer::generator::scan_token ( ) [inline, private]

Definition at line 1854 of file exprtk.hpp.

std::size_t exprtk::lexer::generator::size ( ) const [inline]

Definition at line 1727 of file exprtk.hpp.

void exprtk::lexer::generator::skip_comments ( ) [inline, private]

Definition at line 1804 of file exprtk.hpp.

void exprtk::lexer::generator::skip_whitespace ( ) [inline, private]

Definition at line 1796 of file exprtk.hpp.

Definition at line 1738 of file exprtk.hpp.


Friends And Related Function Documentation

friend class token_inserter [friend]

Definition at line 2151 of file exprtk.hpp.

friend class token_joiner [friend]

Definition at line 2152 of file exprtk.hpp.

friend class token_modifier [friend]

Definition at line 2150 of file exprtk.hpp.

friend class token_scanner [friend]

Definition at line 2149 of file exprtk.hpp.


Member Data Documentation

const char* exprtk::lexer::generator::base_itr_ [private]

Definition at line 2145 of file exprtk.hpp.

Definition at line 2144 of file exprtk.hpp.

const char* exprtk::lexer::generator::s_end_ [private]

Definition at line 2147 of file exprtk.hpp.

const char* exprtk::lexer::generator::s_itr_ [private]

Definition at line 2146 of file exprtk.hpp.

Definition at line 2143 of file exprtk.hpp.

Definition at line 2142 of file exprtk.hpp.

Definition at line 2141 of file exprtk.hpp.


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


labust_mission
Author(s): Filip Mandic
autogenerated on Fri Aug 28 2015 11:23:06