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