Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
exprtk::lexer::token Struct Reference

#include <exprtk.hpp>

List of all members.

Public Types

enum  token_type {
  e_none = 0, e_error = 1, e_err_symbol = 2, e_err_number = 3,
  e_err_string = 4, e_err_sfunc = 5, e_eof = 6, e_number = 7,
  e_symbol = 8, e_string = 9, e_assign = 10, e_addass = 11,
  e_subass = 12, e_mulass = 13, e_divass = 14, e_shr = 15,
  e_shl = 16, e_lte = 17, e_ne = 18, e_gte = 19,
  e_lt = '<', e_gt = '>', e_eq = '=', e_rbracket = ')',
  e_lbracket = '(', e_rsqrbracket = ']', e_lsqrbracket = '[', e_rcrlbracket = '}',
  e_lcrlbracket = '{', e_comma = ',', e_add = '+', e_sub = '-',
  e_div = '/', e_mul = '*', e_mod = '', e_pow = '^',
  e_colon = ':', e_ternary = '?'
}

Public Member Functions

void clear ()
bool is_error () const
template<typename Iterator >
tokenset_error (const token_type et, const Iterator begin, const Iterator end, const Iterator base_begin=Iterator(0))
template<typename Iterator >
tokenset_numeric (const Iterator begin, const Iterator end, const Iterator base_begin=Iterator(0))
template<typename Iterator >
tokenset_operator (const token_type tt, const Iterator begin, const Iterator end, const Iterator base_begin=Iterator(0))
template<typename Iterator >
tokenset_string (const Iterator begin, const Iterator end, const Iterator base_begin=Iterator(0))
tokenset_string (const std::string &s, const std::size_t p)
template<typename Iterator >
tokenset_symbol (const Iterator begin, const Iterator end, const Iterator base_begin=Iterator(0))
 token ()

Static Public Member Functions

static std::string to_str (token_type t)

Public Attributes

std::size_t position
token_type type
std::string value

Detailed Description

Definition at line 1514 of file exprtk.hpp.


Member Enumeration Documentation

Enumerator:
e_none 
e_error 
e_err_symbol 
e_err_number 
e_err_string 
e_err_sfunc 
e_eof 
e_number 
e_symbol 
e_string 
e_assign 
e_addass 
e_subass 
e_mulass 
e_divass 
e_shr 
e_shl 
e_lte 
e_ne 
e_gte 
e_lt 
e_gt 
e_eq 
e_rbracket 
e_lbracket 
e_rsqrbracket 
e_lsqrbracket 
e_rcrlbracket 
e_lcrlbracket 
e_comma 
e_add 
e_sub 
e_div 
e_mul 
e_mod 
e_pow 
e_colon 
e_ternary 

Definition at line 1516 of file exprtk.hpp.


Constructor & Destructor Documentation

Definition at line 1533 of file exprtk.hpp.


Member Function Documentation

void exprtk::lexer::token::clear ( ) [inline]

Definition at line 1539 of file exprtk.hpp.

bool exprtk::lexer::token::is_error ( ) const [inline]

Definition at line 1660 of file exprtk.hpp.

template<typename Iterator >
token& exprtk::lexer::token::set_error ( const token_type  et,
const Iterator  begin,
const Iterator  end,
const Iterator  base_begin = Iterator(0) 
) [inline]

Definition at line 1595 of file exprtk.hpp.

template<typename Iterator >
token& exprtk::lexer::token::set_numeric ( const Iterator  begin,
const Iterator  end,
const Iterator  base_begin = Iterator(0) 
) [inline]

Definition at line 1567 of file exprtk.hpp.

template<typename Iterator >
token& exprtk::lexer::token::set_operator ( const token_type  tt,
const Iterator  begin,
const Iterator  end,
const Iterator  base_begin = Iterator(0) 
) [inline]

Definition at line 1547 of file exprtk.hpp.

template<typename Iterator >
token& exprtk::lexer::token::set_string ( const Iterator  begin,
const Iterator  end,
const Iterator  base_begin = Iterator(0) 
) [inline]

Definition at line 1577 of file exprtk.hpp.

token& exprtk::lexer::token::set_string ( const std::string &  s,
const std::size_t  p 
) [inline]

Definition at line 1586 of file exprtk.hpp.

template<typename Iterator >
token& exprtk::lexer::token::set_symbol ( const Iterator  begin,
const Iterator  end,
const Iterator  base_begin = Iterator(0) 
) [inline]

Definition at line 1557 of file exprtk.hpp.

static std::string exprtk::lexer::token::to_str ( token_type  t) [inline, static]

Definition at line 1615 of file exprtk.hpp.


Member Data Documentation

Definition at line 1673 of file exprtk.hpp.

Definition at line 1671 of file exprtk.hpp.

Definition at line 1672 of file exprtk.hpp.


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


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