| 2126 | } |
| 2127 | |
| 2128 | optional_ref<const ParsedJsonListValue> Value::AsParsedJsonList() const& { |
| 2129 | if (const auto* alternative = variant_.As<ParsedJsonListValue>(); |
| 2130 | alternative != nullptr) { |
| 2131 | return *alternative; |
| 2132 | } |
| 2133 | return absl::nullopt; |
| 2134 | } |
| 2135 | |
| 2136 | absl::optional<ParsedJsonListValue> Value::AsParsedJsonList() && { |
| 2137 | if (auto* alternative = variant_.As<ParsedJsonListValue>(); |
no outgoing calls
no test coverage detected