Searched refs:SourceFileMap (Results 1 – 14 of 14) sorted by relevance
16 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()
30 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()
29 friend class SourceFileMap; variable78 class V8_EXPORT_PRIVATE SourceFileMap : public ContextualClass<SourceFileMap> {80 explicit SourceFileMap(std::string v8_root) : v8_root_(std::move(v8_root)) {} in SourceFileMap() function95 return SourceFileMap::PathFromV8Root(pos.source) + ":" + in PositionAsString()
39 base::Optional<SourceFileMap> source_file_map;
52 SourceFileMap::Scope source_file_map_scope(*result.source_file_map); in WrappedMain()
89 const std::string& file = SourceFileMap::AbsolutePath(pos.source); in EmitSourcePosition()337 SourceFileMap::PathFromV8Root(instruction.pos.source)); in EmitInstruction()
68 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 …]
92 const std::string& file = SourceFileMap::AbsolutePath(pos.source); in EmitSourcePosition()797 SourceFileMap::PathFromV8Root(instruction.pos.source)); in EmitInstruction()
915 SourceFileMap::PathFromV8Root(GetPosition().source).substr(), "test/"); in AttributedToFile()919 return SourceFileMap::GetSourceId("src/objects/torque-defined-classes.tq"); in AttributedToFile()
1128 if (!SourceFileMap::FileRelativeToV8RootExists(import_path)) { in ProcessTorqueImportDeclaration()1132 auto import_id = SourceFileMap::GetSourceId(import_path); in ProcessTorqueImportDeclaration()
72 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()
24 SourceFileMap::Scope source_file_map_scope(""); in WrappedMain()
186 SourceFileMap::Scope source_map_scope(""); in ParseJson()188 CurrentSourceFile::Scope unkown_file(SourceFileMap::AddSource("<json>")); in ParseJson()
244 set_uri(SourceFileMap::AbsolutePath(position.source)); in JSON_OBJECT_ACCESSORS()