PandA-2024.02
|
Standard functor that returns the name of a variable. More...
#include <var_pp_functor.hpp>
Public Member Functions | |
std_var_pp_functor (const BehavioralHelperConstRef _BH) | |
Constructor. More... | |
~std_var_pp_functor () override=default | |
Destructor. More... | |
std::string | operator() (unsigned int var) const override |
return the name of the variable. More... | |
Public Member Functions inherited from var_pp_functor | |
virtual | ~var_pp_functor ()=default |
Destructor. More... | |
Private Attributes | |
const BehavioralHelperConstRef | BH |
behavioral helper More... | |
Standard functor that returns the name of a variable.
Definition at line 82 of file var_pp_functor.hpp.
|
inlineexplicit |
Constructor.
Definition at line 90 of file var_pp_functor.hpp.
References var_pp_functor::operator()().
|
overridedefault |
Destructor.
|
overridevirtual |
return the name of the variable.
var | is the nodeid of the variable. |
Implements var_pp_functor.
Definition at line 55 of file var_pp_functor.cpp.
References array, pointer_var_pp_functor::BH, BehavioralHelper::get_array_ref_array(), BehavioralHelper::get_array_ref_index(), BehavioralHelper::get_component_ref_field(), BehavioralHelper::get_component_ref_record(), BehavioralHelper::get_mem_ref_base(), BehavioralHelper::get_mem_ref_offset(), BehavioralHelper::get_operand_from_unary_expr(), BehavioralHelper::get_type(), index, BehavioralHelper::is_a_component_ref(), BehavioralHelper::is_a_imagpart_expr(), BehavioralHelper::is_a_mem_ref(), BehavioralHelper::is_a_realpart_expr(), BehavioralHelper::is_a_struct(), BehavioralHelper::is_an_addr_expr(), BehavioralHelper::is_an_array(), BehavioralHelper::is_an_array_ref(), BehavioralHelper::is_an_indirect_ref(), BehavioralHelper::is_an_union(), offset, pointer_var_pp_functor::operator()(), BehavioralHelper::print_type(), BehavioralHelper::PrintVariable(), and test_panda::type.
|
private |
behavioral helper
Definition at line 86 of file var_pp_functor.hpp.