| 99 | relativeSemanticPath, ALIASPRIORITY_SEMANTICROUTE); |
| 100 | } |
| 101 | void m_recurse(Json::Value const ¤tLevel, |
| 102 | std::string const &relativeSemanticPath) { |
| 103 | if (currentLevel.isString()) { |
| 104 | m_flag += m_add(currentLevel, relativeSemanticPath); |
| 105 | return; |
| 106 | } |
| 107 | if (currentLevel.isObject()) { |
| 108 | Json::Value target = currentLevel[TARGET_KEY]; |
| 109 | if (!target.isNull()) { |
| 110 | m_flag += m_add(target, relativeSemanticPath); |
| 111 | } |
| 112 | |
| 113 | for (auto const &memberName : |
| 114 | currentLevel.getMemberNames()) { |
| 115 | if (TARGET_KEY == memberName) { |
| 116 | continue; |
| 117 | } |
| 118 | m_recurse(currentLevel[memberName], |
| 119 | relativeSemanticPath + getPathSeparator() + |
| 120 | memberName); |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | PathNode &m_devNode; |
| 125 | util::Flag m_flag; |
| 126 | }; |
nothing calls this directly
no test coverage detected