6#include <llvm/Support/Format.h>
16 [&](
const SourceFile* src) { return src->name == this->location.file; });
20 auto file = std::fstream{(*matching_file)->path};
22 file.ignore(std::numeric_limits<std::streamsize>::max(),
'\n');
23 std::getline(file, line);
auto valid() const -> bool
auto single() const -> Loc
Return a new Loc which refers to the first character of the current Loc.
A source file with its associated Syntax Tree.
vector< SourceFile * > context_files
llvm::raw_ostream * stream