FE 0.13.1
Header-only C++ frontend library
Loading...
Searching...
No Matches
src.h File Reference
#include <cstdint>
#include <algorithm>
#include <filesystem>
#include <fstream>
#include <iterator>
#include <string>
#include <string_view>
#include <system_error>
#include <utility>
#include <vector>
#include <unordered_map>
#include "fe/loc.h"
#include "fe/utf8.h"
Include dependency graph for src.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fe::PathHash
 Hashes a std::filesystem::path - consistent with its operator==, which compares lexically. More...
class  fe::Src
 The content of one source file together with the offsets its rows start at. More...
class  fe::SrcMap
 Interns the text - and the std::filesystem::path - of every file a Loc may point into. More...

Namespaces

namespace  fe

Typedefs

template<class V>
using fe::PathMap = std::unordered_map<std::filesystem::path, V, PathHash>
 Maps a std::filesystem::path to V.