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

Public Member Functions

def name (self)
 
def time (self)
 
def __bytes__ (self)
 
def __repr__ (self)
 
- Public Member Functions inherited from ClangObject
def __init__ (self, obj)
 
def from_param (self)
 

Static Public Member Functions

def from_name (translation_unit, file_name)
 
def from_cursor_result (res, fn, args)
 

Additional Inherited Members

- Public Attributes inherited from ClangObject
 obj
 

Detailed Description

The File class represents a particular source file that is part of a
translation unit.

Definition at line 2795 of file cindex.py.

Member Function Documentation

◆ __bytes__()

def __bytes__ (   self)

Definition at line 2816 of file cindex.py.

◆ __repr__()

def __repr__ (   self)

Definition at line 2819 of file cindex.py.

◆ from_cursor_result()

def from_cursor_result (   res,
  fn,
  args 
)
static

Definition at line 2823 of file cindex.py.

◆ from_name()

def from_name (   translation_unit,
  file_name 
)
static
Retrieve a file handle within the given translation unit.

Definition at line 2802 of file cindex.py.

◆ name()

def name (   self)
Return the complete file and path name of the file.

Definition at line 2807 of file cindex.py.

◆ time()

def time (   self)
Return the last modification time of the file.

Definition at line 2812 of file cindex.py.


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