Lines Matching refs:diag_
167 : diag_(diag), in ResourceParser()
296 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
311 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
371 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) << builder.GetError()); in FlattenXmlSubtree()
393 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
403 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
425 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources()
464 if (!AddResourcesToTable(table_, diag_, &parsed_resource)) { in ParseResources()
473 diag_->Error(DiagMessage(source_) << "resource '" << stripped_resource in ParseResources()
547 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
558 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
571 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
583 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
610 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
626 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
653 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
676 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
686 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
695 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
709 diag_->Error(DiagMessage(out_resource->source) << "invalid " in ParseItem()
749 table_->AddResource(name, {}, {}, std::move(id), diag_); in ParseXml()
794 diag_->Error(DiagMessage(out_resource->source) in ParseString()
805 diag_->Error(DiagMessage(out_resource->source) in ParseString()
815 diag_->Error(DiagMessage(out_resource->source) << "not a valid string"); in ParseString()
828 diag_->Error(msg); in ParseString()
832 diag_->Warn(msg); in ParseString()
844 diag_->Error(DiagMessage(out_resource->source) in ParsePublic()
850 diag_->Warn(DiagMessage(out_resource->source) in ParsePublic()
856 diag_->Error(DiagMessage(out_resource->source) in ParsePublic()
863 diag_->Error(DiagMessage(out_resource->source) << "invalid resource type '" in ParsePublic()
874 diag_->Error(DiagMessage(out_resource->source) in ParsePublic()
892 diag_->Error(DiagMessage(out_resource->source) in ParsePublicGroup()
898 diag_->Warn(DiagMessage(out_resource->source) in ParsePublicGroup()
905 diag_->Error(DiagMessage(out_resource->source) in ParsePublicGroup()
912 diag_->Error(DiagMessage(out_resource->source) << "invalid resource type '" in ParsePublicGroup()
921 diag_->Error(DiagMessage(out_resource->source) in ParsePublicGroup()
929 diag_->Error(DiagMessage(out_resource->source) << "invalid resource ID '" in ParsePublicGroup()
956 diag_->Error(DiagMessage(item_source) in ParsePublicGroup()
963 diag_->Error(DiagMessage(item_source) in ParsePublicGroup()
970 diag_->Error(DiagMessage(item_source) in ParsePublicGroup()
988 diag_->Error(DiagMessage(item_source) << ":" << element_name << ">"); in ParsePublicGroup()
999 diag_->Error(DiagMessage(out_resource->source) in ParseSymbolImpl()
1007 diag_->Error(DiagMessage(out_resource->source) in ParseSymbolImpl()
1019 diag_->Error(DiagMessage(out_resource->source) in ParseSymbol()
1024 diag_->Warn(DiagMessage(out_resource->source) in ParseSymbol()
1039 diag_->Warn(DiagMessage(out_resource->source) in ParseOverlayable()
1046 diag_->Error(DiagMessage(out_resource->source) in ParseOverlayable()
1055 diag_->Error(DiagMessage(out_resource->source) in ParseOverlayable()
1094 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1103 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1111 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1119 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1140 diag_->Error(DiagMessage(element_source) << "<policy> blocks cannot be recursively nested"); in ParseOverlayable()
1161 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1170 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1176 diag_->Error(DiagMessage(element_source) << "invalid element <" << element_name << "> " in ParseOverlayable()
1208 diag_->Warn(DiagMessage(out_resource->source) in ParseAttrImpl()
1220 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl()
1239 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl()
1256 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl()
1264 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl()
1295 diag_->Error(DiagMessage(item_source) in ParseAttrImpl()
1304 diag_->Error(DiagMessage(item_source) in ParseAttrImpl()
1330 diag_->Error(DiagMessage(item_source) in ParseAttrImpl()
1334 diag_->Note(DiagMessage(existing_symbol.symbol.GetSource()) in ParseAttrImpl()
1342 diag_->Error(DiagMessage(item_source) << ":" << element_name << ">"); in ParseAttrImpl()
1369 diag_->Error(DiagMessage(source) << "no attribute 'name' found for tag <" in ParseEnumOrFlagItem()
1376 diag_->Error(DiagMessage(source) << "no attribute 'value' found for tag <" in ParseEnumOrFlagItem()
1384 diag_->Error(DiagMessage(source) << "invalid value '" << maybe_value.value() in ParseEnumOrFlagItem()
1400 diag_->Error(DiagMessage(source) << "<item> must have a 'name' attribute"); in ParseStyleItem()
1406 diag_->Error(DiagMessage(source) << "invalid attribute name '" << maybe_name.value() << "'"); in ParseStyleItem()
1415 diag_->Error(DiagMessage(source) << "could not parse style item"); in ParseStyleItem()
1436 diag_->Error(DiagMessage(out_resource->source) << err_str); in ParseStyle()
1469 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseStyle()
1488 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseArray()
1515 diag_->Error(DiagMessage(out_resource->source) in ParseArrayImpl()
1537 diag_->Error(DiagMessage(item_source) << "could not parse array item"); in ParseArrayImpl()
1545 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseArrayImpl()
1581 diag_->Error(DiagMessage(item_source) in ParsePlural()
1604 diag_->Error(DiagMessage(item_source) in ParsePlural()
1612 diag_->Error(DiagMessage(item_source) << "duplicate quantity '" in ParsePlural()
1627 diag_->Error(DiagMessage(item_source) << "unknown tag <" in ParsePlural()
1651 diag_->Warn(DiagMessage(out_resource->source) in ParseDeclareStyleable()
1677 diag_->Error(DiagMessage(item_source) << "<attr> tag must have a 'name' attribute"); in ParseDeclareStyleable()
1687 diag_->Error(DiagMessage(item_source) << "<attr> tag has invalid name '" in ParseDeclareStyleable()
1725 diag_->Error(DiagMessage(item_source) << "unknown tag <" in ParseDeclareStyleable()