#include <Tokenizer.h>
Public Member Functions | |
void | clear () |
size_t | count () const |
bool | eof () const |
const Token< TokenType > & | first () const |
size_t | getEnd () const |
const Token< TokenType > & | last () const |
TokenStream< TokenType > & | operator<< (Token< TokenType > tkn) |
TokenStream< TokenType > & | operator<< (TokenType tkn) |
TokenStream< TokenType > & | operator<< (string tkn) |
TokenStream< TokenType > & | operator>> (Token< TokenType > &tkn) |
TokenStream< TokenType > & | operator>> (TokenType &tkn) |
TokenStream< TokenType > & | operator>> (string &tkn) |
void | reset () |
void | setEnd (size_t e=(size_t)-1) |
tstream_state | state () const |
void | state (tstream_state t) |
TokenStream () | |
Public Attributes | |
size_t | end |
size_t | i |
vector< Token< TokenType > > | st |
Definition at line 48 of file Tokenizer.h.
Parser::TokenStream< TokenType >::TokenStream | ( | ) | [inline] |
Definition at line 52 of file Tokenizer.h.
void Parser::TokenStream< TokenType >::clear | ( | ) | [inline] |
Definition at line 53 of file Tokenizer.h.
size_t Parser::TokenStream< TokenType >::count | ( | ) | const [inline] |
Definition at line 63 of file Tokenizer.h.
bool Parser::TokenStream< TokenType >::eof | ( | ) | const [inline] |
Definition at line 64 of file Tokenizer.h.
const Token<TokenType>& Parser::TokenStream< TokenType >::first | ( | ) | const [inline] |
Definition at line 61 of file Tokenizer.h.
size_t Parser::TokenStream< TokenType >::getEnd | ( | ) | const [inline] |
Definition at line 66 of file Tokenizer.h.
const Token<TokenType>& Parser::TokenStream< TokenType >::last | ( | ) | const [inline] |
Definition at line 62 of file Tokenizer.h.
TokenStream<TokenType>& Parser::TokenStream< TokenType >::operator<< | ( | Token< TokenType > | tkn | ) | [inline] |
Definition at line 55 of file Tokenizer.h.
TokenStream<TokenType>& Parser::TokenStream< TokenType >::operator<< | ( | TokenType | tkn | ) | [inline] |
Definition at line 57 of file Tokenizer.h.
TokenStream<TokenType>& Parser::TokenStream< TokenType >::operator<< | ( | string | tkn | ) | [inline] |
Definition at line 59 of file Tokenizer.h.
TokenStream<TokenType>& Parser::TokenStream< TokenType >::operator>> | ( | Token< TokenType > & | tkn | ) | [inline] |
Definition at line 56 of file Tokenizer.h.
TokenStream<TokenType>& Parser::TokenStream< TokenType >::operator>> | ( | TokenType & | tkn | ) | [inline] |
Definition at line 58 of file Tokenizer.h.
TokenStream<TokenType>& Parser::TokenStream< TokenType >::operator>> | ( | string & | tkn | ) | [inline] |
Definition at line 60 of file Tokenizer.h.
void Parser::TokenStream< TokenType >::reset | ( | ) | [inline] |
Definition at line 54 of file Tokenizer.h.
void Parser::TokenStream< TokenType >::setEnd | ( | size_t | e = (size_t)-1 | ) | [inline] |
Definition at line 65 of file Tokenizer.h.
tstream_state Parser::TokenStream< TokenType >::state | ( | ) | const [inline] |
Definition at line 67 of file Tokenizer.h.
void Parser::TokenStream< TokenType >::state | ( | tstream_state | t | ) | [inline] |
Definition at line 68 of file Tokenizer.h.
size_t Parser::TokenStream< TokenType >::end |
Definition at line 51 of file Tokenizer.h.
size_t Parser::TokenStream< TokenType >::i |
Definition at line 50 of file Tokenizer.h.
vector< Token<TokenType> > Parser::TokenStream< TokenType >::st |
Definition at line 49 of file Tokenizer.h.