| 1668 | } |
| 1669 | |
| 1670 | Value::const_iterator Value::begin() const { |
| 1671 | switch (type()) { |
| 1672 | case arrayValue: |
| 1673 | case objectValue: |
| 1674 | if (value_.map_) |
| 1675 | return const_iterator(value_.map_->begin()); |
| 1676 | break; |
| 1677 | default: |
| 1678 | break; |
| 1679 | } |
| 1680 | return {}; |
| 1681 | } |
| 1682 | |
| 1683 | Value::const_iterator Value::end() const { |
| 1684 | switch (type()) { |
no test coverage detected