MCPcopy Create free account
hub / github.com/Uncodin/bypass / addAttribute

Method addAttribute

src/element.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 void Element::addAttribute(const std::string& name, const std::string& value) {
41 attributes.insert(std::make_pair(name, value));
42 }
43
44 std::string Element::getAttribute(const std::string& name) {
45 return attributes[name];

Callers 3

BOOST_FIXTURE_TEST_CASEFunction · 0.45
handleBlockMethod · 0.45
handleSpanMethod · 0.45

Calls

no outgoing calls

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.36