docstringFor (tree-sitter.ts) — the preceding comment run, looked up from the declaration wrapper when there is one, without the comments that trail the code above it (docstringSkipsTrailingComments) or that don't end on the line right above it, past a blank line (docstringSkipsDetachedComments), and without directives like `//go:embed` in its text (docstringSkipsDirectives).
(&self, node: Node<'t>)
| 409 | /// (docstringSkipsDetachedComments), and without directives like |
| 410 | /// `//go:embed` in its text (docstringSkipsDirectives). |
| 411 | fn docstring_of(&self, node: Node<'t>) -> Option<String> { |
| 412 | preceding_go_doc_comment(self.declaration_wrapper(node).unwrap_or(node), self.src) |
| 413 | } |
| 414 | |
| 415 | // --- visitNode ------------------------------------------------------------ |
| 416 |
no test coverage detected