| 3462 | } |
| 3463 | |
| 3464 | Value::const_iterator Value::begin() const { |
| 3465 | switch (type_) { |
| 3466 | case arrayValue: |
| 3467 | case objectValue: |
| 3468 | if (value_.map_) |
| 3469 | return const_iterator(value_.map_->begin()); |
| 3470 | break; |
| 3471 | default: |
| 3472 | break; |
| 3473 | } |
| 3474 | return const_iterator(); |
| 3475 | } |
| 3476 | |
| 3477 | Value::const_iterator Value::end() const { |
| 3478 | switch (type_) { |