Skip to content

SgNode::get_file_info

File information containing filename, line number, column number, and if the SgNode is a part of a new transformation, etc.

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

virtual
Sg_File_Info*
get_file_info() const;

Description


This function is only defined here to make get_file_info usable
             without casting for for different types in polymorphic lists
             actually only defined in SgLocatedNode(s).  It used to be defined
             in the SgLocatedNode class.



Return Value

This class represents the location of the code associated with the IR node in the


Created with MrDocs