| 61 | } |
| 62 | |
| 63 | void 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 | |
| 77 | void XmlRpcRequestParserController::setCurrentFrameValue( |
| 78 | std::unique_ptr<ValueBase> value) |