Spicy
Public Member Functions | Public Attributes | List of all members
hilti::context::CacheIndex Struct Reference

#include <context.h>

Public Member Functions

 CacheIndex (ID id, const hilti::rt::filesystem::path &path)
 
bool operator< (const CacheIndex &other) const
 

Public Attributes

ID id
 
hilti::rt::filesystem::path path
 

Detailed Description

Index into the context's cache of already processed modules. Note that we use ID and path interchangeably, a module can be accessed by either, meaning that the mapping from path to ID must be consistent throughout all processing.

Member Data Documentation

◆ id

ID hilti::context::CacheIndex::id

module ID

◆ path

hilti::rt::filesystem::path hilti::context::CacheIndex::path

path to module's source code on disk; can be left empty if no file exists


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