docstringFor (tree-sitter.ts) — the preceding comment run, looked up from the declaration wrapper when there is one, past annotations.
(&self, node: Node<'t>)
| 655 | /// docstringFor (tree-sitter.ts) — the preceding comment run, looked up |
| 656 | /// from the declaration wrapper when there is one, past annotations. |
| 657 | fn docstring_of(&self, node: Node<'t>) -> Option<String> { |
| 658 | preceding_docstring_stepping_over( |
| 659 | self.declaration_wrapper(node).unwrap_or(node), |
| 660 | self.src, |
| 661 | DOCSTRING_STEP_OVER, |
| 662 | ) |
| 663 | } |
| 664 | |
| 665 | /// resolveBody (dart.ts:158-171). |
| 666 | fn resolve_body(&self, node: Node<'t>) -> Option<Node<'t>> { |
no test coverage detected