#include <ctoken.h>
Definition at line 18 of file ctoken.h.
◆ kindt
Initial value: enum {
END_OF_FILE,
INT_LIT,
CHAR_LIT,
FLOAT_LIT,
STRING_LIT,
C_COMMENT,
CPP_COMMENT,
IDENTIFIER,
OPERATOR,
WS,
SEPARATOR,
PREPROCESSOR_DIRECTIVE,
}
Definition at line 21 of file ctoken.h.
◆ ctokent() [1/2]
◆ ctokent() [2/2]
ctokent::ctokent |
( |
kindt | _kind, |
|
|
std::string | _text ) |
|
inline |
◆ operator!=()
bool ctokent::operator!= |
( |
char | some_char | ) |
const |
|
inline |
◆ operator==() [1/2]
bool ctokent::operator== |
( |
char | some_char | ) |
const |
|
inline |
◆ operator==() [2/2]
bool ctokent::operator== |
( |
const char * | other_text | ) |
const |
|
inline |
◆ output()
void ctokent::output |
( |
std::ostream & | out | ) |
const |
◆ kind
◆ line_number
std::size_t ctokent::line_number = 0 |
◆ text
std::string ctokent::text |
The documentation for this class was generated from the following files: