Gets the text of a tree-sitter node from the source.
(&self, node: TsNode<'_>)
| 68 | |
| 69 | /// Gets the text of a tree-sitter node from the source. |
| 70 | fn node_text(&self, node: TsNode<'_>) -> String { |
| 71 | node.utf8_text(&self.source) |
| 72 | .unwrap_or("<invalid utf8>") |
| 73 | .to_string() |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | impl MsBasic2Extractor { |
no outgoing calls
no test coverage detected