Lines Matching refs:diag_

171     : diag_(diag),  in ResourceParser()
300 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
315 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
375 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) << builder.GetError()); in FlattenXmlSubtree()
397 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
407 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
429 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources()
468 if (!AddResourcesToTable(table_, diag_, &parsed_resource)) { in ParseResources()
477 diag_->Error(DiagMessage(source_) << "resource '" << stripped_resource in ParseResources()
551 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
562 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
575 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
587 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
614 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
630 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
657 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
680 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
690 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
699 diag_->Error(DiagMessage(out_resource->source) in ParseResource()
713 diag_->Error(DiagMessage(out_resource->source) << "invalid " in ParseItem()
753 table_->AddResource(name, {}, {}, std::move(id), diag_); in ParseXml()
796 diag_->Error(DiagMessage(out_resource->source) in ParseString()
807 diag_->Error(DiagMessage(out_resource->source) in ParseString()
817 diag_->Error(DiagMessage(out_resource->source) << "not a valid string"); in ParseString()
830 diag_->Error(msg); in ParseString()
834 diag_->Warn(msg); in ParseString()
846 diag_->Error(DiagMessage(out_resource->source) in ParsePublic()
852 diag_->Warn(DiagMessage(out_resource->source) in ParsePublic()
858 diag_->Error(DiagMessage(out_resource->source) in ParsePublic()
865 diag_->Error(DiagMessage(out_resource->source) << "invalid resource type '" in ParsePublic()
876 diag_->Error(DiagMessage(out_resource->source) in ParsePublic()
894 diag_->Error(DiagMessage(out_resource->source) in ParsePublicGroup()
900 diag_->Warn(DiagMessage(out_resource->source) in ParsePublicGroup()
907 diag_->Error(DiagMessage(out_resource->source) in ParsePublicGroup()
914 diag_->Error(DiagMessage(out_resource->source) << "invalid resource type '" in ParsePublicGroup()
923 diag_->Error(DiagMessage(out_resource->source) in ParsePublicGroup()
931 diag_->Error(DiagMessage(out_resource->source) << "invalid resource ID '" in ParsePublicGroup()
958 diag_->Error(DiagMessage(item_source) in ParsePublicGroup()
965 diag_->Error(DiagMessage(item_source) in ParsePublicGroup()
972 diag_->Error(DiagMessage(item_source) in ParsePublicGroup()
990 diag_->Error(DiagMessage(item_source) << ":" << element_name << ">"); in ParsePublicGroup()
1001 diag_->Error(DiagMessage(out_resource->source) in ParseSymbolImpl()
1009 diag_->Error(DiagMessage(out_resource->source) in ParseSymbolImpl()
1021 diag_->Error(DiagMessage(out_resource->source) in ParseSymbol()
1026 diag_->Warn(DiagMessage(out_resource->source) in ParseSymbol()
1041 diag_->Warn(DiagMessage(out_resource->source) in ParseOverlayable()
1048 diag_->Error(DiagMessage(out_resource->source) in ParseOverlayable()
1057 diag_->Error(DiagMessage(out_resource->source) in ParseOverlayable()
1096 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1105 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1113 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1121 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1142 diag_->Error(DiagMessage(element_source) << "<policy> blocks cannot be recursively nested"); in ParseOverlayable()
1156 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1165 diag_->Error(DiagMessage(element_source) in ParseOverlayable()
1171 diag_->Error(DiagMessage(element_source) << "invalid element <" << element_name << "> " in ParseOverlayable()
1203 diag_->Warn(DiagMessage(out_resource->source) in ParseAttrImpl()
1215 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl()
1234 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl()
1251 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl()
1259 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl()
1290 diag_->Error(DiagMessage(item_source) in ParseAttrImpl()
1299 diag_->Error(DiagMessage(item_source) in ParseAttrImpl()
1325 diag_->Error(DiagMessage(item_source) in ParseAttrImpl()
1329 diag_->Note(DiagMessage(existing_symbol.symbol.GetSource()) in ParseAttrImpl()
1337 diag_->Error(DiagMessage(item_source) << ":" << element_name << ">"); in ParseAttrImpl()
1364 diag_->Error(DiagMessage(source) << "no attribute 'name' found for tag <" in ParseEnumOrFlagItem()
1371 diag_->Error(DiagMessage(source) << "no attribute 'value' found for tag <" in ParseEnumOrFlagItem()
1379 diag_->Error(DiagMessage(source) << "invalid value '" << maybe_value.value() in ParseEnumOrFlagItem()
1395 diag_->Error(DiagMessage(source) << "<item> must have a 'name' attribute"); in ParseStyleItem()
1401 diag_->Error(DiagMessage(source) << "invalid attribute name '" << maybe_name.value() << "'"); in ParseStyleItem()
1410 diag_->Error(DiagMessage(source) << "could not parse style item"); in ParseStyleItem()
1431 diag_->Error(DiagMessage(out_resource->source) << err_str); in ParseStyle()
1464 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseStyle()
1483 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseArray()
1510 diag_->Error(DiagMessage(out_resource->source) in ParseArrayImpl()
1532 diag_->Error(DiagMessage(item_source) << "could not parse array item"); in ParseArrayImpl()
1540 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseArrayImpl()
1576 diag_->Error(DiagMessage(item_source) in ParsePlural()
1599 diag_->Error(DiagMessage(item_source) in ParsePlural()
1607 diag_->Error(DiagMessage(item_source) << "duplicate quantity '" in ParsePlural()
1622 diag_->Error(DiagMessage(item_source) << "unknown tag <" in ParsePlural()
1652 diag_->Warn(DiagMessage(out_resource->source) in ParseDeclareStyleable()
1678 diag_->Error(DiagMessage(item_source) << "<attr> tag must have a 'name' attribute"); in ParseDeclareStyleable()
1688 diag_->Error(DiagMessage(item_source) << "<attr> tag has invalid name '" in ParseDeclareStyleable()
1726 diag_->Error(DiagMessage(item_source) << "unknown tag <" in ParseDeclareStyleable()