List of tokens. More...
#include <TokenList.h>

Classes | |
| class | Invalid |
| Exception thrown when accessing illegal position of list. More... | |
Public Types | |
|
typedef std::vector< Token * > ::const_iterator | iterator |
Public Member Functions | |
| TokenList () | |
| Creates new token list. | |
| TokenList (const TokenList &orig) | |
| Copies token list. | |
| virtual | ~TokenList () |
| Destroys token list. | |
| iterator | begin () |
| Returns iterator to the beginning of the list. | |
| iterator | end () |
| Returns iterator to the end of the list. | |
| int | length () |
| Returns length of token list string. | |
| const Token * | tokenAt (int) |
| Gets token at given position. | |
| void | append (Token *) |
| Appends token to token list. | |
List of tokens.
Definition at line 28 of file TokenList.h.
| TokenList::TokenList | ( | const TokenList & | orig | ) |
Copies token list.
| orig | original token list |
Definition at line 31 of file TokenList.cc.

| void TokenList::append | ( | Token * | tok | ) |
Appends token to token list.
| tok | token |
Definition at line 90 of file TokenList.cc.

| std::vector< Token * >::const_iterator TokenList::begin | ( | ) |
Returns iterator to the beginning of the list.
Definition at line 54 of file TokenList.cc.

| std::vector< Token * >::const_iterator TokenList::end | ( | ) |
Returns iterator to the end of the list.
Definition at line 62 of file TokenList.cc.

| int TokenList::length | ( | ) |
| const Token * TokenList::tokenAt | ( | int | pos | ) |
1.8.1.2