(node: Node, src: &str)
| 686 | } |
| 687 | |
| 688 | fn node_text(node: Node, src: &str) -> String { |
| 689 | let start = node.start_byte(); |
| 690 | let end = node.end_byte(); |
| 691 | src.get(start..end).unwrap_or_default().to_string() |
| 692 | } |
| 693 | |
| 694 | fn infer_semantic_label(node_type: LogicNodeType, snippet: String) -> String { |
| 695 | let normalized = snippet.to_ascii_lowercase(); |
no test coverage detected
searching dependent graphs…