MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / element

Method element

imperative/src/impl/profiler/memory_chunk.cpp:62–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
61 }
62 ElementGuard element(std::string tag) { return ElementGuard{this, tag}; }
63 void text(std::string text) { elements.back().push_back(text); }
64 void doctype(std::string element, std::string dtd, std::vector<std::string> args) {
65 std::string builder = ssprintf("<!DOCTYPE %s %s", element.c_str(), dtd.c_str());

Callers 1

to_svgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected