My Project
 All Classes Namespaces Functions Pages
Public Member Functions | Protected Attributes | Friends | List of all members
Token Class Reference
Inheritance diagram for Token:
NLP::Word

Public Member Functions

 Token (const Token &other)
 
 Token (string s, TokenType type)
 Constructor for Token. More...
 
 Token (char ch, TokenType type)
 
TokenType getType () const
 
string getTokenString () const
 
Tokenoperator= (const Token &newToken)
 
const string & operator* ()
 

Protected Attributes

string mTokenString
 
TokenType mType
 

Friends

ostream & operator<< (ostream &outs, const Token &t)
 

Constructor & Destructor Documentation

Token::Token ( string  s,
TokenType  type 
)

Constructor for Token.

Parameters
string,type
Returns
none

The documentation for this class was generated from the following files: