PandA-2024.02
|
struct definition of the source position. More...
#include <tree_node.hpp>
Public Member Functions | |
srcp () | |
constructor More... | |
virtual | ~srcp () |
Destructor. More... | |
virtual void | visit (tree_node_visitor *const v) const |
virtual function used to traverse the tree_node data structure. More... | |
Data Fields | |
std::string | include_name |
include_name is a filename string, this can be the location of a reference, if no definition has been seen. More... | |
unsigned int | line_number |
line_number holds a line number. More... | |
unsigned int | column_number |
column_number holds the column number. More... | |
struct definition of the source position.
The tree walker structure of this node is: #(TOK_SRCP TOK_STRING TOK_NUMBER TOK_NUMBER);
Definition at line 832 of file tree_node.hpp.
|
inline |
constructor
Definition at line 855 of file tree_node.hpp.
|
virtualdefault |
|
virtual |
virtual function used to traverse the tree_node data structure.
v | is a reference to the tree_node visitor class |
Reimplemented in lut_expr, var_decl, type_decl, nontype_argument_pack, template_decl, target_expr, gimple_switch, scope_ref, gimple_return, gimple_resx, result_decl, gimple_predict, gimple_phi, parm_decl, namespace_decl, gimple_label, gimple_goto, gimple_nop, gimple_assign, function_decl, field_decl, const_decl, gimple_cond, expr_pack_expansion, cast_expr, case_label_expr, gimple_call, aggr_init_expr, call_expr, gimple_bind, gimple_asm, memory_tag, quaternary_expr, ternary_expr, binary_expr, unary_expr, gimple_node, expr_node, decl_node, gimple_multi_way_if, gimple_for, gimple_while, and gimple_pragma.
Definition at line 264 of file tree_node.cpp.
References ALL_VISIT.
unsigned int srcp::column_number |
column_number holds the column number.
Definition at line 850 of file tree_node.hpp.
Referenced by raw_writer::write_when_not_null_point_to().
std::string srcp::include_name |
include_name is a filename string, this can be the location of a reference, if no definition has been seen.
(macro DECL_SOURCE_FILE)
Definition at line 839 of file tree_node.hpp.
Referenced by tree_manager::check_for_decl(), parm_decl_taken_address_fix::InternalExec(), FixStructsPassedByValue::InternalExec(), SerializeMutualExclusions::InternalExec(), Bit_Value_opt::optimize(), and raw_writer::write_when_not_null_point_to().
unsigned int srcp::line_number |
line_number holds a line number.
(macro DECL_SOURCE_LINE)
Definition at line 845 of file tree_node.hpp.
Referenced by raw_writer::write_when_not_null_point_to().