MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::Driver::Imports Class Reference

#include <mim/driver.h>

Classes

struct  Entry

Public Member Functions

 Imports (Driver &driver)
std::pair< const fs::path *, bool > add (fs::path, Sym, ast::Tok::Tag)
 Remembers an import or plugin directive and reports whether the resolved file is new.
Get imports
const auto & entries () const
Iterators
auto begin () const
auto end () const

Detailed Description

Definition at line 50 of file driver.h.


Class Documentation

◆ mim::Driver::Imports::Entry

struct mim::Driver::Imports::Entry

Definition at line 52 of file driver.h.

Class Members
path path
Sym sym
Tag tag

Constructor & Destructor Documentation

◆ Imports()

mim::Driver::Imports::Imports ( Driver & driver)
inline

Definition at line 58 of file driver.h.

References mim::Driver::Driver().

Member Function Documentation

◆ add()

std::pair< const fs::path *, bool > mim::Driver::Imports::add ( fs::path path,
Sym sym,
ast::Tok::Tag tag )

Remembers an import or plugin directive and reports whether the resolved file is new.

Definition at line 10 of file driver.cpp.

◆ begin()

auto mim::Driver::Imports::begin ( ) const
inline

Definition at line 68 of file driver.h.

◆ end()

auto mim::Driver::Imports::end ( ) const
inline

Definition at line 69 of file driver.h.

◆ entries()

const auto & mim::Driver::Imports::entries ( ) const
inline

Definition at line 63 of file driver.h.


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