| 391 | } |
| 392 | |
| 393 | void Emitter::FlowMapPrepareNode(EmitterNodeType::value child) { |
| 394 | if (m_pState->CurGroupChildCount() % 2 == 0) { |
| 395 | if (m_pState->GetMapKeyFormat() == LongKey) |
| 396 | m_pState->SetLongKey(); |
| 397 | |
| 398 | if (m_pState->CurGroupLongKey()) |
| 399 | FlowMapPrepareLongKey(child); |
| 400 | else |
| 401 | FlowMapPrepareSimpleKey(child); |
| 402 | } else { |
| 403 | if (m_pState->CurGroupLongKey()) |
| 404 | FlowMapPrepareLongKeyValue(child); |
| 405 | else |
| 406 | FlowMapPrepareSimpleKeyValue(child); |
| 407 | } |
| 408 | } |
| 409 | |
| 410 | void Emitter::FlowMapPrepareLongKey(EmitterNodeType::value child) { |
| 411 | const std::size_t lastIndent = m_pState->LastIndent(); |
nothing calls this directly
no test coverage detected