From ceffe40a54849056069d2f5c33cf403486a168e0 Mon Sep 17 00:00:00 2001 From: Taus Date: Tue, 28 Jul 2026 11:55:11 +0000 Subject: [PATCH] unified: Remove references to Swift input schema generation --- unified/extractor/src/languages/swift/adapter.rs | 8 ++++---- unified/extractor/swift_node_types.yml | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/unified/extractor/src/languages/swift/adapter.rs b/unified/extractor/src/languages/swift/adapter.rs index 696fce88970..4ae4040d043 100644 --- a/unified/extractor/src/languages/swift/adapter.rs +++ b/unified/extractor/src/languages/swift/adapter.rs @@ -262,10 +262,10 @@ fn parse_range(node: &Value) -> Option { }) } -/// The authoritative swift-syntax input node-types schema, generated from -/// swift-syntax (see the schemagen tool). [`json_to_ast`] seeds every parse -/// with the schema built from this, pre-registering every input kind and field -/// so rule matching never references a name absent from a given file's tree. +/// The authoritative swift-syntax input node-types schema. +/// [`json_to_ast`] seeds every parse with the schema built from this, +/// pre-registering every input kind and field so rule matching never references +/// a name absent from a given file's tree. const SWIFT_NODE_TYPES: &str = include_str!("../../../swift_node_types.yml"); /// Convert a swift-syntax JSON tree (as produced by [`crate::parse_to_json`]) diff --git a/unified/extractor/swift_node_types.yml b/unified/extractor/swift_node_types.yml index d8793acce2c..c98dd1d33b2 100644 --- a/unified/extractor/swift_node_types.yml +++ b/unified/extractor/swift_node_types.yml @@ -1,4 +1,3 @@ -# GENERATED from swift-syntax by the one-off schemagen tool. Do not edit. supertypes: decl: - accessorDecl