Scarab  v2.9.0
Project 8 C++ Utility Library
Public Member Functions | Public Attributes | List of all members
FileInclusion Class Reference
Inheritance diagram for FileInclusion:
Inheritance graph

Public Member Functions

def __init__ (self, src, tgt, loc, depth)
 
def is_input_file (self)
 

Public Attributes

 source
 
 include
 
 location
 
 depth
 

Detailed Description

The FileInclusion class represents the inclusion of one source file by
another via a '#include' directive or as the input file for the translation
unit. This class provides information about the included file, the including
file, the location of the '#include' directive and the depth of the included
file in the stack. Note that the input file has depth 0.

Definition at line 2830 of file cindex.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  src,
  tgt,
  loc,
  depth 
)

Definition at line 2839 of file cindex.py.

Member Function Documentation

◆ is_input_file()

def is_input_file (   self)
True if the included file is the input file.

Definition at line 2846 of file cindex.py.

Member Data Documentation

◆ depth

depth

Definition at line 2843 of file cindex.py.

◆ include

include

Definition at line 2841 of file cindex.py.

◆ location

location

Definition at line 2842 of file cindex.py.

◆ source

source

Definition at line 2840 of file cindex.py.


The documentation for this class was generated from the following file: