| 1446 | } |
| 1447 | |
| 1448 | Value::const_iterator Value::begin() const { |
| 1449 | switch (type()) { |
| 1450 | case arrayValue: |
| 1451 | case objectValue: |
| 1452 | if (value_.map_) |
| 1453 | return const_iterator(value_.map_->begin()); |
| 1454 | break; |
| 1455 | default: |
| 1456 | break; |
| 1457 | } |
| 1458 | return {}; |
| 1459 | } |
| 1460 | |
| 1461 | Value::const_iterator Value::end() const { |
| 1462 | switch (type()) { |
no test coverage detected