docstringFor (tree-sitter.ts) — the preceding comment run, looked up from the declaration wrapper when there is one, past annotations.
(&self, node: Node<'t>)
| 728 | /// docstringFor (tree-sitter.ts) — the preceding comment run, looked up |
| 729 | /// from the declaration wrapper when there is one, past annotations. |
| 730 | fn docstring_of(&self, node: Node<'t>) -> Option<String> { |
| 731 | preceding_docstring_stepping_over( |
| 732 | self.declaration_wrapper(node).unwrap_or(node), |
| 733 | self.src, |
| 734 | DOCSTRING_STEP_OVER, |
| 735 | ) |
| 736 | } |
| 737 | |
| 738 | /// resolveBody (dart.ts:158-171). |
| 739 | fn resolve_body(&self, node: Node<'t>) -> Option<Node<'t>> { |
no test coverage detected