| 2190 | } |
| 2191 | |
| 2192 | optional_ref<const ParsedMapFieldValue> Value::AsParsedMapField() const& { |
| 2193 | if (const auto* alternative = variant_.As<ParsedMapFieldValue>(); |
| 2194 | alternative != nullptr) { |
| 2195 | return *alternative; |
| 2196 | } |
| 2197 | return absl::nullopt; |
| 2198 | } |
| 2199 | |
| 2200 | absl::optional<ParsedMapFieldValue> Value::AsParsedMapField() && { |
| 2201 | if (auto* alternative = variant_.As<ParsedMapFieldValue>(); |
no outgoing calls
no test coverage detected