#include <cppToken.h>
Public Member Functions | |
CPPToken (int token, int line_number=0, int col_number=0, const CPPFile &file=CPPFile(""), const string &str=string(), const YYSTYPE &lval=YYSTYPE()) | |
CPPToken (const CPPToken ©) | |
void | operator= (const CPPToken ©) |
bool | is_eof () const |
Returns true if this is the EOF token. | |
void | output (ostream &out) const |
Static Public Member Functions | |
CPPToken | eof () |
A named constructor for the token returned when the end of file has been reached. | |
Public Attributes | |
int | _token |
YYSTYPE | _lval |
YYLTYPE | _lloc |
|
Definition at line 37 of file cppToken.cxx. Referenced by operator=(). |
|
Definition at line 58 of file cppToken.cxx. |
|
A named constructor for the token returned when the end of file has been reached.
Definition at line 92 of file cppToken.cxx. References _lval. |
|
Returns true if this is the EOF token.
Definition at line 105 of file cppToken.cxx. References _lval. |
|
Definition at line 74 of file cppToken.cxx. References CPPToken(). |
|
Definition at line 118 of file cppToken.cxx. |
|
Definition at line 51 of file cppToken.h. Referenced by CPPToken(). |
|
Definition at line 50 of file cppToken.h. Referenced by CPPToken(), eof(), is_eof(), and output(). |
|
Definition at line 49 of file cppToken.h. Referenced by CPPToken(). |