| 2171 | return IsName() ? &std::get<std::string>(impl_) : NULLPTR; |
| 2172 | } |
| 2173 | const std::vector<FieldRef>* nested_refs() const { |
| 2174 | return std::holds_alternative<std::vector<FieldRef>>(impl_) |
| 2175 | ? &std::get<std::vector<FieldRef>>(impl_) |
| 2176 | : NULLPTR; |
| 2177 | } |
| 2178 | |
| 2179 | /// \brief Retrieve FieldPath of every child field which matches this FieldRef. |
| 2180 | std::vector<FieldPath> FindAll(const Schema& schema) const; |