docstringFor a class-like node: the comment above the declaration it is defined in (the c/cpp getDeclarationWrapper), else above the node.
(&self, node: Node<'t>)
| 1378 | /// docstringFor a class-like node: the comment above the declaration it is |
| 1379 | /// defined in (the c/cpp getDeclarationWrapper), else above the node. |
| 1380 | fn class_like_docstring(&self, node: Node<'t>) -> Option<String> { |
| 1381 | preceding_docstring(defining_declaration(node).unwrap_or(node), self.src) |
| 1382 | } |
| 1383 | |
| 1384 | /// extractClass for cpp class_specifier (skipBodilessClass, #1093). |
| 1385 | fn extract_class(&mut self, node: Node<'t>) { |
no test coverage detected