Home
last modified time | relevance | path

Searched refs:SourceFileMap (Results 1 - 14 of 14) sorted by relevance

/third_party/node/deps/v8/src/torque/
H A Dsource-positions.cc16 DEFINE_CONTEXTUAL_VARIABLE(SourceFileMap)
19 const std::string& SourceFileMap::PathFromV8Root(SourceId file) { in PathFromV8Root()
25 std::string SourceFileMap::AbsolutePath(SourceId file) { in AbsolutePath()
32 std::string SourceFileMap::PathFromV8RootWithoutExtension(SourceId file) { in PathFromV8RootWithoutExtension()
42 SourceId SourceFileMap::AddSource(std::string path) { in AddSource()
48 SourceId SourceFileMap::GetSourceId(const std::string& path) { in GetSourceId()
58 std::vector<SourceId> SourceFileMap::AllSources() { in AllSources()
59 SourceFileMap& self = Get(); in AllSources()
69 bool SourceFileMap::FileRelativeToV8RootExists(const std::string& path) { in FileRelativeToV8RootExists()
H A Dtorque-compiler.cc30 SourceId source_id = SourceFileMap::AddSource(path); in ReadAndParseTorqueFile()
34 auto maybe_content = ReadFile(SourceFileMap::AbsolutePath(source_id)); in ReadAndParseTorqueFile()
118 SourceFileMap::Scope source_map_scope(options.v8_root); in CompileTorque()
120 SourceFileMap::AddSource("dummy-filename.tq")); in CompileTorque()
134 result.source_file_map = SourceFileMap::Get(); in CompileTorque()
143 SourceFileMap::Scope source_map_scope(options.v8_root); in CompileTorque()
160 result.source_file_map = SourceFileMap::Get(); in CompileTorque()
170 SourceFileMap::Scope source_map_scope(options.v8_root); in CompileTorqueForKythe()
182 SourceId source_id = SourceFileMap::AddSource(unit.source_file_path); in CompileTorqueForKythe()
192 result.source_file_map = SourceFileMap in CompileTorqueForKythe()
[all...]
H A Dsource-positions.h29 friend class SourceFileMap;
89 class V8_EXPORT_PRIVATE SourceFileMap : public ContextualClass<SourceFileMap> { class
91 explicit SourceFileMap(std::string v8_root) : v8_root_(std::move(v8_root)) {} in SourceFileMap() function in v8::internal::torque::SourceFileMap
106 return SourceFileMap::PathFromV8Root(pos.source) + ":" + in PositionAsString()
113 << SourceFileMap::PathFromV8Root(pos.source) in operator <<()
H A Dtorque-compiler.h47 base::Optional<SourceFileMap> source_file_map;
H A Dtorque.cc65 // PositionAsString requires the SourceFileMap to be set to in WrappedMain()
67 SourceFileMap::Scope source_file_map_scope(*result.source_file_map); in WrappedMain()
H A Dcc-generator.cc75 const std::string& file = SourceFileMap::AbsolutePath(pos.source); in EmitSourcePosition()
351 SourceFileMap::PathFromV8Root(instruction.pos.source)); in EmitInstruction()
H A Dkythe-data.cc18 p.file_path = SourceFileMap::PathFromV8Root(pos.source); in MakeKythePosition()
H A Dcsa-generator.cc92 const std::string& file = SourceFileMap::AbsolutePath(pos.source); in EmitSourcePosition()
868 SourceFileMap::PathFromV8Root(instruction.pos.source)); in EmitInstruction()
H A Dimplementation-visitor.cc86 for (SourceId source : SourceFileMap::AllSources()) { in BeginGeneratedFiles()
98 SourceFileMap::PathFromV8RootWithoutExtension(source) + in BeginGeneratedFiles()
117 UnderlinifyPath(SourceFileMap::PathFromV8Root(source)) + "_CSA_H_"; in BeginGeneratedFiles()
130 << SourceFileMap::PathFromV8RootWithoutExtension(source) in BeginGeneratedFiles()
143 for (SourceId file : SourceFileMap::AllSources()) { in EndGeneratedFiles()
153 UnderlinifyPath(SourceFileMap::PathFromV8Root(file)) + "_CSA_H_"; in EndGeneratedFiles()
1775 for (SourceId file : SourceFileMap::AllSources()) { in GenerateImplementation()
1777 dir + "/" + SourceFileMap::PathFromV8RootWithoutExtension(file); in GenerateImplementation()
1789 SourceFileMap::PathFromV8RootWithoutExtension(include); in GenerateImplementation()
5364 for (SourceId file : SourceFileMap in GenerateExportedMacrosAssembler()
[all...]
H A Dtypes.cc941 SourceFileMap::PathFromV8Root(GetPosition().source).substr(), "test/"); in AttributedToFile()
945 return SourceFileMap::GetSourceId("src/objects/torque-defined-classes.tq"); in AttributedToFile()
H A Dtorque-parser.cc1228 if (!SourceFileMap::FileRelativeToV8RootExists(import_path)) { in ProcessTorqueImportDeclaration()
1232 auto import_id = SourceFileMap::GetSourceId(import_path); in ProcessTorqueImportDeclaration()
/third_party/node/deps/v8/src/torque/ls/
H A Dmessage-handler.cc72 std::string error_file = SourceFileMap::AbsolutePath(source); in ResetCompilationErrorDiagnostics()
120 id.IsValid() ? SourceFileMap::AbsolutePath(id) : "<unknown>"; in GetOrCreateNotificationForSource()
184 SourceFileMap::Get() = *result.source_file_map; in CompilationFinished()
272 SourceFileMap::GetSourceId(request.params().textDocument().uri()); in HandleGotoDefinitionRequest()
309 SourceFileMap::GetSourceId(request.params().textDocument().uri()); in HandleDocumentSymbolRequest()
H A Dtorque-language-server.cc24 SourceFileMap::Scope source_file_map_scope(""); in WrappedMain()
H A Dmessage.h244 set_uri(SourceFileMap::AbsolutePath(position.source)); in SetTo()

Completed in 28 milliseconds