| 1462 | } |
| 1463 | |
| 1464 | Value::const_iterator Value::begin() const { |
| 1465 | switch (type_) { |
| 1466 | case arrayValue: |
| 1467 | case objectValue: |
| 1468 | if (value_.map_) |
| 1469 | return const_iterator(value_.map_->begin()); |
| 1470 | break; |
| 1471 | default: |
| 1472 | break; |
| 1473 | } |
| 1474 | return const_iterator(); |
| 1475 | } |
| 1476 | |
| 1477 | Value::const_iterator Value::end() const { |
| 1478 | switch (type_) { |
no outgoing calls