Searched refs:comment (Results 1 - 6 of 6) sorted by relevance
/commonlibrary/ets_utils/js_api_module/convertxml/ |
H A D | js_convertxml.h | 41 std::string comment = "_comment";
member
|
H A D | js_convertxml.cpp | 46 strResult = "comment";
in GetNodeType() 125 SetKeyValue(env, elementsObject, options_.comment, curContent);
in GetPrevNodeList() 168 SetKeyValue(env, elementsObject, options_.comment, curContent);
in SetXmlElementType() 450 case 6: // 6:comment
in SetDefaultKey() 451 options_.comment = strRecv;
in SetDefaultKey()
|
/commonlibrary/ets_utils/js_api_module/xml/ |
H A D | native_module_xml.cpp | 300 std::string comment; in SetComment() local 301 object->DealNapiStrValue(env, args[0], comment); in SetComment() 302 object->SetComment(comment); in SetComment()
|
H A D | js_xml.h | 88 * Write the comment property. 90 * @param comment The parameter is the comment content of the current element. 92 void SetComment(const std::string &comment); 97 * @param comment The parameter is the content of the CDATA attribute. 104 * @param comment The parameter is the content of the CDATA attribute.
|
H A D | js_xml.cpp | 276 void XmlSerializer::SetComment(const std::string &comment) in SetComment() argument 286 out_ += "<!--" + comment + "-->"; in SetComment()
|
/commonlibrary/ets_utils/js_api_module/convertxml/test/ |
H A D | test_convertxml.cpp | 205 * @tc.desc: Convert the xml object containing comment to a js object. 216 xmlSerializer.SetComment("This is a comment"); in HWTEST_F() 232 EXPECT_EQ(napi_get_named_property(env, element, op.comment.c_str(), &commentText), napi_status::napi_ok); in HWTEST_F() 238 EXPECT_STREQ(commentTypeStr.c_str(), "comment"); in HWTEST_F() 239 EXPECT_STREQ(commentTextStr.c_str(), "This is a comment"); in HWTEST_F()
|
Completed in 12 milliseconds