mirror of
https://github.com/github/codeql.git
synced 2026-07-28 22:36:50 +02:00
unified: Remove references to Swift input schema generation
This commit is contained in:
@@ -262,10 +262,10 @@ fn parse_range(node: &Value) -> Option<Range> {
|
||||
})
|
||||
}
|
||||
|
||||
/// 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`])
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# GENERATED from swift-syntax by the one-off schemagen tool. Do not edit.
|
||||
supertypes:
|
||||
decl:
|
||||
- accessorDecl
|
||||
|
||||
Reference in New Issue
Block a user