PandA-2024.02
|
tree node factory. More...
#include "token_interface.hpp"
#include "ext_tree_node.hpp"
#include "tree_basic_block.hpp"
#include "tree_manager.hpp"
#include "tree_node.hpp"
#include "tree_node_factory.hpp"
#include "tree_reindex.hpp"
#include "utility.hpp"
Go to the source code of this file.
Macros | |
#define | CREATE_TREE_NODE_CASE_BODY(tree_node_name, node_id) |
parser/compiler include More... | |
#define | ATTR_SEQ |
#define | ATTR_MACRO(r, data, elem) |
#define | SET_NODE_ID_OPT(token, field, type) |
#define | SET_NODE_ID(token, field, type) |
#define | SET_VALUE_OPT(token, field, type) |
#define | SET_VALUE(token, field, type) |
#define | TREE_NOT_YET_IMPLEMENTED(token) |
tree node factory.
This class, exploiting the visitor design pattern, add a tree node to the tree_manager.
Definition in file tree_node_factory.cpp.
#define ATTR_MACRO | ( | r, | |
data, | |||
elem | |||
) |
Referenced by tree_node_factory::create_tree_node().
#define ATTR_SEQ |
Referenced by tree_node_factory::create_tree_node().
#define CREATE_TREE_NODE_CASE_BODY | ( | tree_node_name, | |
node_id | |||
) |
parser/compiler include
tree includes
Definition at line 56 of file tree_node_factory.cpp.
Referenced by tree_node_factory::create_tree_node().
#define SET_NODE_ID | ( | token, | |
field, | |||
type | |||
) |
Definition at line 664 of file tree_node_factory.cpp.
#define SET_NODE_ID_OPT | ( | token, | |
field, | |||
type | |||
) |
Definition at line 657 of file tree_node_factory.cpp.
#define SET_VALUE | ( | token, | |
field, | |||
type | |||
) |
Definition at line 679 of file tree_node_factory.cpp.
#define SET_VALUE_OPT | ( | token, | |
field, | |||
type | |||
) |
Definition at line 672 of file tree_node_factory.cpp.
#define TREE_NOT_YET_IMPLEMENTED | ( | token | ) |
Definition at line 685 of file tree_node_factory.cpp.