CBMC
|
#include <cscanner.h>
Public Member Functions | |
cscannert (std::istream &) | |
~cscannert () | |
ctokent | operator() () |
void | set_token (std::string text, ctokent::kindt kind) |
std::vector< ctokent > | get_tokens () |
Public Attributes | |
std::istream & | in |
std::size_t | line_number = 1 |
bool | return_WS_and_comments = false |
Protected Attributes | |
ctokent | token |
Definition at line 20 of file cscanner.h.
|
explicit |
Definition at line 17 of file cscanner.cpp.
cscannert::~cscannert | ( | ) |
Definition at line 22 of file cscanner.cpp.
std::vector< ctokent > cscannert::get_tokens | ( | ) |
Definition at line 41 of file cscanner.cpp.
ctokent cscannert::operator() | ( | void | ) |
Definition at line 27 of file cscanner.cpp.
|
inline |
Definition at line 33 of file cscanner.h.
std::istream& cscannert::in |
Definition at line 28 of file cscanner.h.
std::size_t cscannert::line_number = 1 |
Definition at line 29 of file cscanner.h.
bool cscannert::return_WS_and_comments = false |
Definition at line 31 of file cscanner.h.
|
protected |
Definition at line 43 of file cscanner.h.