MCPcopy Create free account
hub / github.com/NPP-JSONViewer/JSON-Viewer / AppendNodeCount

Method AppendNodeCount

src/NppJsonViewer/RapidJsonHandler.cpp:218–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void RapidJsonHandler::AppendNodeCount(unsigned elementCount, bool bArray)
219{
220 if (!m_NodeStack.empty())
221 {
222 TreeNode* node = m_NodeStack.top();
223 m_NodeStack.pop();
224
225 if (node->subRoot && node->subRoot != m_treeRoot)
226 m_pTreeHandler->AppendNodeCount(node->subRoot, elementCount, bArray);
227
228 delete node;
229 }
230}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected