|
CBMC
|
#include <ctoken.h>
Collaboration diagram for ctokent:Public Types | |
| using | kindt = enum { END_OF_FILE, INT_LIT, CHAR_LIT, FLOAT_LIT, STRING_LIT, C_COMMENT, CPP_COMMENT, IDENTIFIER, OPERATOR, WS, SEPARATOR, PREPROCESSOR_DIRECTIVE, UNKNOWN } |
Public Member Functions | |
| ctokent ()=default | |
| ctokent (kindt _kind, std::string _text) | |
| void | output (std::ostream &) const |
| bool | operator== (const char *other_text) const |
| bool | operator== (char some_char) const |
| bool | operator!= (char some_char) const |
Public Attributes | |
| kindt | kind |
| std::string | text |
| std::size_t | line_number = 0 |
|
default |
| void ctokent::output | ( | std::ostream & | out | ) | const |
Definition at line 16 of file ctoken.cpp.