| 599 | #pragma mark - ARRAYS / DICTIONARIES: |
| 600 | |
| 601 | void Encoder::addingKey() { |
| 602 | if (_usuallyFalse(!_blockedOnKey)) { |
| 603 | if (_items->tag == kDictTag) |
| 604 | FleeceException::_throw(EncodeError, "need a value after a key"); |
| 605 | else |
| 606 | FleeceException::_throw(EncodeError, "not writing a dictionary"); |
| 607 | } |
| 608 | _blockedOnKey = false; |
| 609 | } |
| 610 | |
| 611 | void Encoder::writeKey(slice s) { |
| 612 | int encoded; |
nothing calls this directly
no outgoing calls
no test coverage detected