PandA-2024.02
|
Class implementation of the tree_node structures. More...
#include "config_HAVE_TREE_MANIPULATION_BUILT.hpp"
#include "config_HAVE_TREE_PARSER_BUILT.hpp"
#include "token_interface.hpp"
#include <ostream>
#include "dbgPrintHelper.hpp"
#include "gimple_writer.hpp"
#include "string_manipulation.hpp"
#include "tree_basic_block.hpp"
#include "tree_helper.hpp"
#include "tree_manager.hpp"
#include "tree_node.hpp"
#include "tree_reindex.hpp"
#include <boost/preprocessor/facilities/empty.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <iostream>
#include <unordered_map>
#include <utility>
#include "config_HAVE_ASSERTS.hpp"
Go to the source code of this file.
Macros | |
#define | VISIT_TREE_NODE_MACRO(r, data, elem) |
Autoheader include. More... | |
#define | NAME_KIND(r, data, elem) |
#define | KIND_NAME(r, data, elem) |
Functions | |
BOOST_PP_SEQ_FOR_EACH (VISIT_TREE_NODE_MACRO, tree_node,(ctor_initializer)(trait_expr)) BOOST_PP_SEQ_FOR_EACH(VISIT_TREE_NODE_MACRO | |
() label_decl() | using_decl (translation_unit_decl)) BOOST_PP_SEQ_FOR_EACH(VISIT_TREE_NODE_MACRO |
() label_decl()() modop_expr() new_expr() placeholder_expr() | template_id_expr (vec_new_expr)) BOOST_PP_SEQ_FOR_EACH(VISIT_TREE_NODE_MACRO |
() label_decl()() modop_expr() new_expr() placeholder_expr()() boolean_type() CharType() nullptr_type() lang_type() offset_type() qual_union_type() set_type() template_type_parm() | typename_type (void_type)) void tree_node |
std::ostream & | operator<< (std::ostream &os, const tree_nodeRef &tn) |
Variables | |
decl_node | |
() label_decl() | expr_node |
() label_decl()() modop_expr() new_expr() placeholder_expr() | type_node |
Class implementation of the tree_node structures.
This file implements some of the tree_node member functions and define a global variable.
Definition in file tree_node.cpp.
#define KIND_NAME | ( | r, | |
data, | |||
elem | |||
) |
Referenced by tree_node::GetString().
#define NAME_KIND | ( | r, | |
data, | |||
elem | |||
) |
Referenced by tree_node::get_kind().
#define VISIT_TREE_NODE_MACRO | ( | r, | |
data, | |||
elem | |||
) |
Autoheader include.
parser/compiler include Tree include Utility include forward declaration macro
Definition at line 76 of file tree_node.cpp.
Referenced by tree_node::GetString().
BOOST_PP_SEQ_FOR_EACH | ( | VISIT_TREE_NODE_MACRO | , |
tree_node | , | ||
(ctor_initializer)(trait_expr) | |||
) |
Referenced by tree_node::get_kind(), and tree_node::GetString().
std::ostream& operator<< | ( | std::ostream & | os, |
const tree_nodeRef & | tn | ||
) |
os | is the output stream |
tn | is the tree_node to be printed |
Definition at line 192 of file tree_node.cpp.
References refcount< T >::get().
() label_decl()() modop_expr() new_expr() placeholder_expr() template_id_expr | ( | vec_new_expr | ) |
Referenced by tree_node_factory::create_tree_node(), tree_node_dup::create_tree_node(), and tree_node_index_factory::create_tree_node().
() label_decl()() modop_expr() new_expr() placeholder_expr()() boolean_type() CharType() nullptr_type() lang_type() offset_type() qual_union_type() set_type() template_type_parm() typename_type | ( | void_type | ) |
Definition at line 168 of file tree_node.cpp.
References ALL_VISIT, tree_node::index, tree_node::operator<<, tree_node::ToString(), and tree_node::visit().
Referenced by tree_node_factory::create_tree_node(), tree_node_dup::create_tree_node(), and tree_node_index_factory::create_tree_node().
() label_decl() using_decl | ( | translation_unit_decl | ) |
Referenced by tree_node_factory::create_tree_node(), tree_node_dup::create_tree_node(), and tree_node_index_factory::create_tree_node().
Definition at line 163 of file tree_node.cpp.
Referenced by tree_manager::get_implementation_node().
() label_decl() expr_node |
Definition at line 164 of file tree_node.cpp.
() label_decl()() modop_expr() new_expr() placeholder_expr() type_node |
Definition at line 166 of file tree_node.cpp.
Referenced by tree_helper::AccessedMaximumBitsize(), and tree_helper::AccessedMinimunBitsize().