MCPcopy Create free account
hub / github.com/aria2/aria2 / popArrayFrame

Method popArrayFrame

src/XmlRpcRequestParserController.cc:63–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void XmlRpcRequestParserController::popArrayFrame()
64{
65 assert(!frameStack_.empty());
66
67 StateFrame parentFrame = std::move(frameStack_.top());
68 List* list = downcast<List>(parentFrame.value_);
69 assert(list);
70 frameStack_.pop();
71 if (currentFrame_.value_) {
72 list->append(std::move(currentFrame_.value_));
73 }
74 currentFrame_ = std::move(parentFrame);
75}
76
77void XmlRpcRequestParserController::setCurrentFrameValue(
78 std::unique_ptr<ValueBase> value)

Callers 5

testPopArrayFrameMethod · 0.45
endElementMethod · 0.45
endElementMethod · 0.45

Calls 3

popMethod · 0.80
emptyMethod · 0.45
appendMethod · 0.45

Tested by 3

testPopArrayFrameMethod · 0.36