Internal Representation.
More...
#include "irep_ids.h"
#include "invariant.h"
#include "string_container.h"
#include "irep_ids.def"
Go to the source code of this file.
Internal Representation.
Definition in file irep_ids.cpp.
◆ IREP_ID_ONE [1/3]
#define IREP_ID_ONE |
( |
|
id | ) |
#id, |
◆ IREP_ID_ONE [2/3]
#define IREP_ID_ONE |
( |
|
the_id | ) |
id_##the_id, |
◆ IREP_ID_ONE [3/3]
#define IREP_ID_ONE |
( |
|
the_id | ) |
|
Value:
static_cast<unsigned>(idt::id_##the_id));
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
static dstringt make_from_table_index(unsigned no)
Definition at line 36 of file irep_ids.cpp.
◆ IREP_ID_TWO [1/3]
#define IREP_ID_TWO |
( |
|
id, |
|
|
|
str |
|
) |
| #str, |
◆ IREP_ID_TWO [2/3]
#define IREP_ID_TWO |
( |
|
the_id, |
|
|
|
str |
|
) |
| id_##the_id, |
◆ IREP_ID_TWO [3/3]
#define IREP_ID_TWO |
( |
|
the_id, |
|
|
|
str |
|
) |
| |
Value:
static_cast<unsigned>(idt::id_##the_id));
Definition at line 39 of file irep_ids.cpp.
◆ idt
Enumerator |
---|
IREP_ID_ONE | |
IREP_ID_TWO | |
Definition at line 28 of file irep_ids.cpp.
◆ irep_ids_table
const char* irep_ids_table[] |
Initial value:=
{
#define IREP_ID_ONE(id)
#define IREP_ID_TWO(id, str)
nullptr,
}
Definition at line 18 of file irep_ids.cpp.