chromium/v8/src/torque/source-positions.cc

// Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// static
const std::string& SourceFileMap::PathFromV8Root(SourceId file) {}

// static
std::string SourceFileMap::AbsolutePath(SourceId file) {}

// static
std::string SourceFileMap::PathFromV8RootWithoutExtension(SourceId file) {}

// static
SourceId SourceFileMap::AddSource(std::string path) {}

// static
SourceId SourceFileMap::GetSourceId(const std::string& path) {}

// static
std::vector<SourceId> SourceFileMap::AllSources() {}

// static
bool SourceFileMap::FileRelativeToV8RootExists(const std::string& path) {}

}  // namespace torque
}  // namespace internal
}  // namespace v8