PandA-2024.02
Public Member Functions | Data Fields
srcp Struct Reference

struct definition of the source position. More...

#include <tree_node.hpp>

Inheritance diagram for srcp:
Inheritance graph
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ srcp()

srcp::srcp ( )
inline

constructor

Definition at line 855 of file tree_node.hpp.

◆ ~srcp()

srcp::~srcp ( )
virtualdefault

Destructor.

Referenced by attr::is_bitfield().

Here is the caller graph for this function:

Member Function Documentation

◆ visit()

void srcp::visit ( tree_node_visitor *const  v) const
virtual

Field Documentation

◆ column_number

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().

◆ include_name

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().

◆ line_number

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().


The documentation for this struct was generated from the following files:

Generated on Mon Feb 12 2024 13:04:03 for PandA-2024.02 by doxygen 1.8.13