| 61 | void EmitterState::SetNonContent() { m_hasNonContent = true; } |
| 62 | |
| 63 | void EmitterState::SetLongKey() { |
| 64 | assert(!m_groups.empty()); |
| 65 | if (m_groups.empty()) { |
| 66 | return; |
| 67 | } |
| 68 | |
| 69 | assert(m_groups.back()->type == GroupType::Map); |
| 70 | m_groups.back()->longKey = true; |
| 71 | } |
| 72 | |
| 73 | void EmitterState::ForceFlow() { |
| 74 | assert(!m_groups.empty()); |
no test coverage detected