Tanl Linguistic Pipeline |
Represents a token recognized by the scanner. More...
#include <PtbTokenizer.h>
Public Member Functions | |
Token (char const *text="", TokenType type=Eof) | |
Token (std::string const &text, TokenType type=Eof) | |
Token const & | operator= (Token const &o) |
Public Attributes | |
char const * | text |
the text of the token | |
TokenType | type |
the type of the token |
Represents a token recognized by the scanner.