(&mut self, node: DocOnIdentifier<Raw>)
| 2259 | } |
| 2260 | |
| 2261 | fn fold_doc_on_identifier(&mut self, node: DocOnIdentifier<Raw>) -> DocOnIdentifier<Aug> { |
| 2262 | match node { |
| 2263 | DocOnIdentifier::Column(name) => DocOnIdentifier::Column(self.fold_column_name(name)), |
| 2264 | DocOnIdentifier::Type(name) => DocOnIdentifier::Type(self.resolve_item_name( |
| 2265 | name, |
| 2266 | // In `DOC ON TYPE ...`, the type can refer to either a type or |
| 2267 | // a relation. |
| 2268 | // |
| 2269 | // It's possible this will get simpler once database-issues#7142 is fixed. See |
| 2270 | // the comment on `ItemResolutionConfig` for details. |
| 2271 | ItemResolutionConfig { |
| 2272 | functions: false, |
| 2273 | types: true, |
| 2274 | relations: true, |
| 2275 | }, |
| 2276 | )), |
| 2277 | } |
| 2278 | } |
| 2279 | |
| 2280 | fn fold_expr(&mut self, node: Expr<Raw>) -> Expr<Aug> { |
| 2281 | // Exprs can be recursive, so need the ability to grow the stack. |
nothing calls this directly
no test coverage detected