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

Method Key

src/NppJsonViewer/RapidJsonHandler.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82bool RapidJsonHandler::Key(const Ch* str, unsigned length, bool /*copy*/)
83{
84 m_jsonLastKey.strKey = str;
85 m_jsonLastKey.pos.nLine = m_pTS->getLine();
86 m_jsonLastKey.pos.nColumn = m_pTS->getColumn() - length - 1;
87 m_jsonLastKey.pos.nKeyLength = length;
88 return true;
89}
90
91bool RapidJsonHandler::StartObject()
92{

Callers

nothing calls this directly

Calls 2

getLineMethod · 0.80
getColumnMethod · 0.80

Tested by

no test coverage detected