| 1927 | // flatten children |
| 1928 | struct Visitor { |
| 1929 | void operator()(std::string&& name, std::vector<FieldRef>* out) { |
| 1930 | out->push_back(FieldRef(std::move(name))); |
| 1931 | } |
| 1932 | |
| 1933 | void operator()(FieldPath&& path, std::vector<FieldRef>* out) { |
| 1934 | if (path.indices().empty()) { |
nothing calls this directly
no test coverage detected