| 3874 | } |
| 3875 | |
| 3876 | Value::const_iterator Value::begin() const { |
| 3877 | switch (type()) { |
| 3878 | case arrayValue: |
| 3879 | case objectValue: |
| 3880 | if (value_.map_) |
| 3881 | return const_iterator(value_.map_->begin()); |
| 3882 | break; |
| 3883 | default: |
| 3884 | break; |
| 3885 | } |
| 3886 | return {}; |
| 3887 | } |
| 3888 | |
| 3889 | Value::const_iterator Value::end() const { |
| 3890 | switch (type()) { |
no outgoing calls