File tree Expand file tree Collapse file tree
grapha-swift/src/treesitter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -548,7 +548,6 @@ pub(super) fn find_enclosing_swift_condition(
548548}
549549
550550/// Check if a Swift call node is at an async boundary.
551-
552551pub ( super ) fn sanitize_id_component ( name : & str ) -> String {
553552 let mut out = String :: with_capacity ( name. len ( ) ) ;
554553 for ch in name. chars ( ) {
Original file line number Diff line number Diff line change @@ -524,7 +524,6 @@ fn extract_extension(
524524}
525525
526526/// Find the type name from a `user_type > type_identifier` child.
527-
528527fn extract_protocol (
529528 node : tree_sitter:: Node ,
530529 source : & [ u8 ] ,
@@ -782,7 +781,6 @@ fn extract_calls_from_text(
782781}
783782
784783/// Find the name from a `pattern > simple_identifier` child.
785-
786784fn extract_typealias (
787785 node : tree_sitter:: Node ,
788786 source : & [ u8 ] ,
@@ -962,7 +960,6 @@ fn collect_doc_comments(
962960}
963961
964962/// Extract doc comments from previous sibling comment nodes.
965-
966963fn detect_swift_async_boundary ( node : tree_sitter:: Node , source : & [ u8 ] ) -> Option < bool > {
967964 // Check if parent is await_expression
968965 if let Some ( parent) = node. parent ( )
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ fn apply_swiftui_dynamic_property_metadata(
6767}
6868
6969/// Collect inheritance/conformance names from a class_declaration node.
70-
7170fn node_by_id_mut < ' a > ( result : & ' a mut ExtractionResult , node_id : & str ) -> Option < & ' a mut Node > {
7271 result. nodes . iter_mut ( ) . find ( |node| node. id == node_id)
7372}
You can’t perform that action at this time.
0 commit comments