#include <TokenSource.h>
Public Member Functions | |
TokenSource () | |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now. | |
~TokenSource () | |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now. | |
void | setFileInput (std::string &fileName) |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now. | |
TokenIterator | getIterator () |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now. | |
TokenIterator | getEndIterator () |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now. | |
Static Public Member Functions | |
static void | assertTokenType (int correctType, TokenIterator &curToken, char *errorStr) |
static void | assertTokenNotEnd (TokenIterator &curToken) |
Private Attributes | |
int | sourceType |
std::list< Token > | tokenList |
TokenSource::TokenSource | ( | ) |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now.
curToken | the current token iterator | |
argOut | the already allocated arg list to build on |
TokenSource::~TokenSource | ( | ) |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now.
curToken | the current token iterator | |
argOut | the already allocated arg list to build on |
void TokenSource::setFileInput | ( | std::string & | fileName | ) |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now.
curToken | the current token iterator | |
argOut | the already allocated arg list to build on |
std::list< Token >::iterator TokenSource::getIterator | ( | ) |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now.
curToken | the current token iterator | |
argOut | the already allocated arg list to build on |
std::list< Token >::iterator TokenSource::getEndIterator | ( | ) |
Parses argument list like constructs. This parses any argument list like constructs. It only support constants right now.
curToken | the current token iterator | |
argOut | the already allocated arg list to build on |