bindgen: works

This commit is contained in:
nym21
2026-03-16 00:28:29 +01:00
parent fdf8661a4b
commit c1565c5f42
11 changed files with 3392 additions and 700 deletions

View File

@@ -701,6 +701,10 @@ pub fn generate_structural_patterns(
}
writeln!(output, " */\n").unwrap();
// Skip factory for non-parameterizable patterns (inlined at tree level)
if !metadata.is_parameterizable(&pattern.name) {
continue;
}
writeln!(output, "/**").unwrap();
writeln!(output, " * Create a {} pattern node", pattern.name).unwrap();