#include "src/torque/source-positions.h"
#include <fstream>
#include "src/torque/utils.h"
EXPORT_CONTEXTUAL_VARIABLE(v8::internal::torque::CurrentSourceFile)
EXPORT_CONTEXTUAL_VARIABLE(v8::internal::torque::SourceFileMap)
namespace v8 {
namespace internal {
namespace torque {
const std::string& SourceFileMap::PathFromV8Root(SourceId file) { … }
std::string SourceFileMap::AbsolutePath(SourceId file) { … }
std::string SourceFileMap::PathFromV8RootWithoutExtension(SourceId file) { … }
SourceId SourceFileMap::AddSource(std::string path) { … }
SourceId SourceFileMap::GetSourceId(const std::string& path) { … }
std::vector<SourceId> SourceFileMap::AllSources() { … }
bool SourceFileMap::FileRelativeToV8RootExists(const std::string& path) { … }
}
}
}