The debug info type for DAG nodes. More...
#include <mdl_generated_dag.h>
Public Member Functions | |
DAG_DbgInfo () | |
Default Constructor of the invalid debug info. More... | |
DAG_DbgInfo (unsigned file_id, unsigned line, unsigned column) | |
Constructor. More... | |
operator bool () const | |
Check if the info is invalid. More... | |
bool | operator== (DAG_DbgInfo other) |
Check if two debug info entries are equal. More... | |
bool | operator!= (DAG_DbgInfo other) |
Check if two debug info entries are not equal. More... | |
unsigned | get_file_id () const |
Get the file id. More... | |
unsigned | get_line () const |
Get the line. More... | |
unsigned | get_column () const |
Get the column. More... | |
Static Public Attributes | |
static const DAG_DbgInfo | generated |
The "generated" debug info. More... | |
static const DAG_DbgInfo | builtin |
The "builtin" debug info. More... | |
The debug info type for DAG nodes.
|
inline |
Default Constructor of the invalid debug info.
|
inline |
Constructor.
file_id | the file id of a source file registered by the owning DAG_unit |
line | source line |
column | source column |
|
inline |
Get the column.
|
inline |
Get the file id.
|
inline |
Get the line.
|
inline |
Check if the info is invalid.
|
inline |
Check if two debug info entries are not equal.
|
inline |
Check if two debug info entries are equal.
|
static |
The "builtin" debug info.
|
static |
The "generated" debug info.