Searched refs:WithLine (Results 1 – 10 of 10) sorted by relevance
193 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()205 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()219 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()273 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()283 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()305 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources()327 parsed_resource.source = source_.WithLine(parser->line_number()); in ParseResources()426 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()450 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()601 id->SetSource(source_.WithLine(begin_xml_line)); in ParseXml()[all …]
45 inline Source WithLine(size_t line) const { return Source(path, line); } in WithLine() function
45 explicit DiagMessage(size_t line) : source_(Source().WithLine(line)) {} in DiagMessage()
56 const Source& src = xml_resource_->file.source.WithLine(el->line_number); in Visit()136 new_doc->file.source = doc->file.source.WithLine(decl.el->line_number); in Consume()152 const Source child_source = doc->file.source.WithLine(child->line_number); in Consume()
301 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()311 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()322 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()332 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()344 diag->Error(DiagMessage(xml_res->file.source.WithLine(uses_sdk_el->line_number)) in ExtractAppInfoFromBinaryManifest()
784 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()795 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()1186 id->SetSource(file_desc->source.WithLine(exported_symbol.line)); in MergeCompiledFile()
75 diag, source.WithLine(el->line_number), attr->value); in WriteSymbol()
89 const Source source = source_.WithLine(el->line_number); in Visit()
401 symbol.source = source_.WithLine(0); in ParseType()
214 diag->Error(DiagMessage(source.WithLine(XML_GetCurrentLineNumber(parser))) in Inflate()