|
cprover
|
#include <source_lines.h>
Public Member Functions | |
| source_linest ()=default | |
| Constructors. | |
| source_linest (const source_locationt &loc) | |
| void | insert (const source_locationt &loc) |
| Insert a line (a source location) into the set of lines. | |
| std::string | to_string () const |
| Construct a string representing the set of lines. | |
| irept | to_irep () const |
| Construct an irept representing the set of lines. | |
Private Types | |
| using | linest = std::set<mp_integer> |
| A set of lines from a single function. | |
| using | function_linest = std::map<std::string, linest> |
| A set of lines from multiple function. | |
| using | block_linest = std::map<std::string, function_linest> |
| A set of lines from multiple files. | |
Private Attributes | |
| block_linest | block_lines |
Definition at line 32 of file source_lines.h.
|
private |
A set of lines from multiple files.
Definition at line 68 of file source_lines.h.
|
private |
A set of lines from multiple function.
Definition at line 66 of file source_lines.h.
|
private |
A set of lines from a single function.
Definition at line 64 of file source_lines.h.
|
default |
Constructors.
|
inlineexplicit |
Definition at line 37 of file source_lines.h.
| void source_linest::insert | ( | const source_locationt & | loc | ) |
Insert a line (a source location) into the set of lines.
| loc | A source location |
Definition at line 21 of file source_lines.cpp.
| irept source_linest::to_irep | ( | ) | const |
Construct an irept representing the set of lines.
Definition at line 58 of file source_lines.cpp.
| std::string source_linest::to_string | ( | ) | const |
Construct a string representing the set of lines.
Definition at line 37 of file source_lines.cpp.
|
private |
Definition at line 70 of file source_lines.h.