PandA-2024.02
|
tree node writer. More...
#include "raw_writer.hpp"
#include "custom_map.hpp"
#include "custom_set.hpp"
#include "exceptions.hpp"
#include "ext_tree_node.hpp"
#include "token_interface.hpp"
#include "tree_basic_block.hpp"
#include "tree_node.hpp"
#include "tree_reindex.hpp"
#include <cstddef>
#include <list>
#include <utility>
#include <vector>
Go to the source code of this file.
Macros | |
#define | WRITE_NFIELD_STRING(os, field_name, field_value) os << " " << (field_name) << ": \"" << (field_value) << "\"" |
Macro which writes on an output stream a named field of string type. More... | |
#define | WRITE_NFIELD(os, name, field) os << " " << (name) << ": " << field |
Macro which writes on an output stream a named field. More... | |
#define | WRITE_UFIELD(os, field) os << " " << field |
Macro which writes on an output stream an unnamed field. More... | |
#define | WRITE_UFIELD_STRING(os, field) os << " \"" << (field) << "\"" |
Macro which writes on an output stream an unnamed field. More... | |
#define | WRITE_STRGLNGT_IDENTIFIER(os, field) |
Macro which writes on an output stream a string with its length. More... | |
#define | WRITE_STRGLNGT_STRING(os, field) |
Macro which writes on an output stream a string with its length. More... | |
#define | WRITE_SRCP(os, include_name, line_number, column_number) |
Macro which writes on an output stream the srcp fields. More... | |
tree node writer.
This class exploiting the visitor design pattern write a tree node according to the raw format.
Definition in file raw_writer.cpp.
#define WRITE_NFIELD | ( | os, | |
name, | |||
field | |||
) | os << " " << (name) << ": " << field |
Macro which writes on an output stream a named field.
Definition at line 69 of file raw_writer.cpp.
Referenced by raw_writer::write_when_not_null_point_to().
#define WRITE_NFIELD_STRING | ( | os, | |
field_name, | |||
field_value | |||
) | os << " " << (field_name) << ": \"" << (field_value) << "\"" |
Macro which writes on an output stream a named field of string type.
Definition at line 64 of file raw_writer.cpp.
Referenced by raw_writer::write_when_not_null_point_to().
#define WRITE_SRCP | ( | os, | |
include_name, | |||
line_number, | |||
column_number | |||
) |
Macro which writes on an output stream the srcp fields.
Definition at line 98 of file raw_writer.cpp.
Referenced by raw_writer::write_when_not_null_point_to().
#define WRITE_STRGLNGT_IDENTIFIER | ( | os, | |
field | |||
) |
Macro which writes on an output stream a string with its length.
IDENTIFIER_NODE case
Definition at line 84 of file raw_writer.cpp.
Referenced by raw_writer::write_when_not_null_point_to().
#define WRITE_STRGLNGT_STRING | ( | os, | |
field | |||
) |
Macro which writes on an output stream a string with its length.
STRING_CST case
Definition at line 91 of file raw_writer.cpp.
Referenced by raw_writer::write_when_not_null_point_to().
#define WRITE_UFIELD | ( | os, | |
field | |||
) | os << " " << field |
Macro which writes on an output stream an unnamed field.
Definition at line 74 of file raw_writer.cpp.
Referenced by raw_writer::write_when_not_null_point_to().
#define WRITE_UFIELD_STRING | ( | os, | |
field | |||
) | os << " \"" << (field) << "\"" |
Macro which writes on an output stream an unnamed field.
Definition at line 79 of file raw_writer.cpp.
Referenced by raw_writer::write_when_not_null_point_to().