hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
CodegenObjectCacheEntry Struct Reference

#include <codegenObjectCache.hpp>

Public Member Functions

 CodegenObjectCacheEntry ()=default
 
CodegenObjectCacheEntry setAbsPathOnDisk (const yoi::wstr &abs_path_on_disk)
 
CodegenObjectCacheEntry setObjectFilename (const yoi::wstr &object_filename)
 
CodegenObjectCacheEntry setHash (yoi::indexT hash)
 
CodegenObjectCacheEntry setLastModification (yoi::indexT last_modification)
 
CodegenObjectCacheEntry setDependBy (const std::set< yoi::indexT > &depend_by)
 
const yoi::wstrgetAbsPathOnDisk () const
 
const yoi::wstrgetObjectFilename () const
 
yoi::indexT getHash () const
 
yoi::indexT getLastModification () const
 
const std::set< yoi::indexT > & getDependBy () const
 

Public Attributes

yoi::wstr abs_path_on_disk
 
yoi::wstr object_filename
 
yoi::indexT hash
 
yoi::indexT last_modification
 
std::set< yoi::indexTdepend_by
 

Detailed Description

Definition at line 34 of file codegenObjectCache.hpp.

Constructor & Destructor Documentation

◆ CodegenObjectCacheEntry()

Member Function Documentation

◆ getAbsPathOnDisk()

const yoi::wstr & getAbsPathOnDisk ( ) const

Definition at line 112 of file codegenObjectCache.cpp.

References CodegenObjectCacheEntry::abs_path_on_disk.

◆ getDependBy()

const std::set< yoi::indexT > & getDependBy ( ) const

◆ getHash()

yoi::indexT getHash ( ) const

Definition at line 120 of file codegenObjectCache.cpp.

References CodegenObjectCacheEntry::hash.

◆ getLastModification()

yoi::indexT getLastModification ( ) const

Definition at line 213 of file codegenObjectCache.cpp.

References CodegenObjectCacheEntry::last_modification.

Referenced by LLVMCodegen::generate().

Here is the caller graph for this function:

◆ getObjectFilename()

const yoi::wstr & getObjectFilename ( ) const

Definition at line 116 of file codegenObjectCache.cpp.

References CodegenObjectCacheEntry::object_filename.

Referenced by LLVMCodegen::generate().

Here is the caller graph for this function:

◆ setAbsPathOnDisk()

CodegenObjectCacheEntry setAbsPathOnDisk ( const yoi::wstr abs_path_on_disk)

Definition at line 97 of file codegenObjectCache.cpp.

References CodegenObjectCacheEntry::abs_path_on_disk.

Referenced by CodegenObjectCache::register_entry_unlocked().

Here is the caller graph for this function:

◆ setDependBy()

CodegenObjectCacheEntry setDependBy ( const std::set< yoi::indexT > &  depend_by)

◆ setHash()

Definition at line 107 of file codegenObjectCache.cpp.

References CodegenObjectCacheEntry::hash.

Referenced by CodegenObjectCache::register_entry_unlocked().

Here is the caller graph for this function:

◆ setLastModification()

CodegenObjectCacheEntry setLastModification ( yoi::indexT  last_modification)

Definition at line 208 of file codegenObjectCache.cpp.

References CodegenObjectCacheEntry::last_modification.

Referenced by CodegenObjectCache::register_entry_unlocked().

Here is the caller graph for this function:

◆ setObjectFilename()

CodegenObjectCacheEntry setObjectFilename ( const yoi::wstr object_filename)

Definition at line 102 of file codegenObjectCache.cpp.

References CodegenObjectCacheEntry::object_filename.

Referenced by CodegenObjectCache::register_entry_unlocked().

Here is the caller graph for this function:

Member Data Documentation

◆ abs_path_on_disk

◆ depend_by

std::set<yoi::indexT> depend_by

Definition at line 44 of file codegenObjectCache.hpp.

◆ hash

◆ last_modification

◆ object_filename


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