CBMC
|
#include <cpp_token_buffer.h>
Public Types | |
typedef unsigned int | post |
Public Member Functions | |
cpp_token_buffert (message_handlert &message_handler) | |
int | LookAhead (unsigned offset) |
int | get_token (cpp_tokent &token) |
int | get_token () |
int | LookAhead (unsigned offset, cpp_tokent &token) |
post | Save () |
void | Restore (post pos) |
void | Replace (const cpp_tokent &token) |
void | Insert (const cpp_tokent &token) |
void | clear () |
cpp_tokent & | current_token () |
Public Attributes | |
ansi_c_parsert | ansi_c_parser |
Protected Types | |
typedef std::list< cpp_tokent > | tokenst |
Protected Member Functions | |
void | read_token () |
Protected Attributes | |
tokenst | tokens |
std::vector< tokenst::iterator > | token_vector |
post | current_pos |
void * | ansi_c_scanner_state |
Definition at line 24 of file cpp_token_buffer.h.
typedef unsigned int cpp_token_buffert::post |
Definition at line 41 of file cpp_token_buffer.h.
|
protected |
Definition at line 70 of file cpp_token_buffer.h.
|
inlineexplicit |
Definition at line 27 of file cpp_token_buffer.h.
|
inline |
Definition at line 53 of file cpp_token_buffer.h.
|
inline |
Definition at line 61 of file cpp_token_buffer.h.
int cpp_token_buffert::get_token | ( | ) |
Definition at line 40 of file cpp_token_buffer.cpp.
int cpp_token_buffert::get_token | ( | cpp_tokent & | token | ) |
Definition at line 26 of file cpp_token_buffer.cpp.
void cpp_token_buffert::Insert | ( | const cpp_tokent & | token | ) |
Definition at line 116 of file cpp_token_buffer.cpp.
int cpp_token_buffert::LookAhead | ( | unsigned | offset | ) |
Definition at line 14 of file cpp_token_buffer.cpp.
int cpp_token_buffert::LookAhead | ( | unsigned | offset, |
cpp_tokent & | token | ||
) |
Definition at line 54 of file cpp_token_buffer.cpp.
|
protected |
Definition at line 71 of file cpp_token_buffer.cpp.
void cpp_token_buffert::Replace | ( | const cpp_tokent & | token | ) |
Definition at line 106 of file cpp_token_buffer.cpp.
void cpp_token_buffert::Restore | ( | post | pos | ) |
Definition at line 101 of file cpp_token_buffer.cpp.
cpp_token_buffert::post cpp_token_buffert::Save | ( | ) |
Definition at line 96 of file cpp_token_buffer.cpp.
ansi_c_parsert cpp_token_buffert::ansi_c_parser |
Definition at line 67 of file cpp_token_buffer.h.
|
protected |
Definition at line 77 of file cpp_token_buffer.h.
|
protected |
Definition at line 75 of file cpp_token_buffer.h.
|
protected |
Definition at line 73 of file cpp_token_buffer.h.
|
protected |
Definition at line 71 of file cpp_token_buffer.h.