Lines Matching defs:comment
34 * Returns true if the element is <skip> or <eat-comment> and can be safely ignored.
37 return ns.empty() && (name == u"skip" || name == u"eat-comment");
77 std::u16string comment;
84 StringPiece16 trimmedComment = util::trimWhitespace(res->comment);
85 if (trimmedComment.size() != res->comment.size()) {
87 res->comment = trimmedComment.toString();
94 symbol.comment = res->comment;
101 // Attach the comment, source and config to the value.
102 res->value->setComment(std::move(res->comment));
239 std::u16string comment;
244 comment = parser->getComment();
265 if (elementName == u"skip" || elementName == u"eat-comment") {
266 comment = u"";
273 parsedResource.comment = std::move(comment);
646 std::u16string comment;
651 comment = util::trimWhitespace(parser->getComment()).toString();
685 childResource.comment = std::move(comment);
812 std::u16string comment;
817 comment = util::trimWhitespace(parser->getComment()).toString();
855 symbol.symbol.setComment(std::move(comment));
877 comment = {};
1189 std::u16string comment;
1194 comment = util::trimWhitespace(parser->getComment()).toString();
1229 childResource.comment = std::move(comment);
1237 childRef.setComment(childResource.comment);
1249 comment = {};