A Class to store token and its corresponding tags and definitions.
More...
#include <word.h>
|
|
| Word (const Token &other, set< WordType > tags, set< string > defs=set< string >()) |
| |
|
| Word (const Word &other) |
| |
|
Word & | operator= (const Word &newToken) |
| |
|
| ~Word () |
| | Do nothing.
|
| |
|
string | getName () const |
| |
|
set< WordType > | getTypes () const |
| |
|
string | getRawtypes () const |
| |
|
set< string > | getDefinitions () const |
| |
|
| Token (const Token &other) |
| |
| | Token (string s, TokenType type) |
| | Constructor for Token. More...
|
| |
|
| Token (char ch, TokenType type) |
| |
|
TokenType | getType () const |
| |
|
string | getTokenString () const |
| |
|
Token & | operator= (const Token &newToken) |
| |
|
const string & | operator* () |
| |
|
|
ostream & | operator<< (ostream &outs, const Word &w) |
| |
|
|
string | mTokenString |
| |
|
TokenType | mType |
| |
A Class to store token and its corresponding tags and definitions.
- Parameters
-
The documentation for this class was generated from the following files: