Home
last modified time | relevance | path

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

/external/v8/src/torque/
Dsource-positions.cc16 DEFINE_CONTEXTUAL_VARIABLE(SourceFileMap) in DEFINE_CONTEXTUAL_VARIABLE()
19 const std::string& SourceFileMap::PathFromV8Root(SourceId file) { in DEFINE_CONTEXTUAL_VARIABLE()
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()
68 bool SourceFileMap::FileRelativeToV8RootExists(const std::string& path) { in FileRelativeToV8RootExists()
Dtorque-compiler.cc30 SourceId source_id = SourceFileMap::AddSource(path); in ReadAndParseTorqueFile()
34 auto maybe_content = ReadFile(SourceFileMap::AbsolutePath(source_id)); in ReadAndParseTorqueFile()
112 SourceFileMap::Scope source_map_scope(options.v8_root); in CompileTorque()
114 SourceFileMap::AddSource("dummy-filename.tq")); in CompileTorque()
128 result.source_file_map = SourceFileMap::Get(); in CompileTorque()
137 SourceFileMap::Scope source_map_scope(options.v8_root); in CompileTorque()
154 result.source_file_map = SourceFileMap::Get(); in CompileTorque()
Dsource-positions.h29 friend class SourceFileMap; variable
78 class V8_EXPORT_PRIVATE SourceFileMap : public ContextualClass<SourceFileMap> {
80 explicit SourceFileMap(std::string v8_root) : v8_root_(std::move(v8_root)) {} in SourceFileMap() function
95 return SourceFileMap::PathFromV8Root(pos.source) + ":" + in PositionAsString()
Dtorque-compiler.h39 base::Optional<SourceFileMap> source_file_map;
Dtorque.cc52 SourceFileMap::Scope source_file_map_scope(*result.source_file_map); in WrappedMain()
Dcc-generator.cc89 const std::string& file = SourceFileMap::AbsolutePath(pos.source); in EmitSourcePosition()
337 SourceFileMap::PathFromV8Root(instruction.pos.source)); in EmitInstruction()
Dimplementation-visitor.cc68 for (SourceId file : SourceFileMap::AllSources()) { in BeginGeneratedFiles()
77 for (SourceId file : SourceFileMap::AllSources()) { in BeginGeneratedFiles()
79 SourceFileMap::PathFromV8RootWithoutExtension(file) + in BeginGeneratedFiles()
93 UnderlinifyPath(SourceFileMap::PathFromV8Root(file)) + "_H_"; in BeginGeneratedFiles()
109 << SourceFileMap::PathFromV8RootWithoutExtension(file) in BeginGeneratedFiles()
122 for (SourceId file : SourceFileMap::AllSources()) { in EndGeneratedFiles()
135 UnderlinifyPath(SourceFileMap::PathFromV8Root(file)) + "_H_"; in EndGeneratedFiles()
1689 for (SourceId file : SourceFileMap::AllSources()) { in GenerateImplementation()
1691 dir + "/" + SourceFileMap::PathFromV8RootWithoutExtension(file); in GenerateImplementation()
4817 for (SourceId file : SourceFileMap::AllSources()) { in GenerateExportedMacrosAssembler()
[all …]
Dcsa-generator.cc92 const std::string& file = SourceFileMap::AbsolutePath(pos.source); in EmitSourcePosition()
797 SourceFileMap::PathFromV8Root(instruction.pos.source)); in EmitInstruction()
Dtypes.cc915 SourceFileMap::PathFromV8Root(GetPosition().source).substr(), "test/"); in AttributedToFile()
919 return SourceFileMap::GetSourceId("src/objects/torque-defined-classes.tq"); in AttributedToFile()
Dtorque-parser.cc1128 if (!SourceFileMap::FileRelativeToV8RootExists(import_path)) { in ProcessTorqueImportDeclaration()
1132 auto import_id = SourceFileMap::GetSourceId(import_path); in ProcessTorqueImportDeclaration()
/external/v8/src/torque/ls/
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()
308 SourceFileMap::GetSourceId(request.params().textDocument().uri()); in HandleDocumentSymbolRequest()
Dtorque-language-server.cc24 SourceFileMap::Scope source_file_map_scope(""); in WrappedMain()
Djson-parser.cc186 SourceFileMap::Scope source_map_scope(""); in ParseJson()
188 CurrentSourceFile::Scope unkown_file(SourceFileMap::AddSource("<json>")); in ParseJson()
Dmessage.h244 set_uri(SourceFileMap::AbsolutePath(position.source)); in JSON_OBJECT_ACCESSORS()