pub fn validate_dc_syntax(
rule: &DcSyntaxRule,
self_dc_id: u32,
known_dc_ids: &HashSet<u32>,
known_format_ids: &HashSet<usize>,
known_named_types: &HashSet<String>,
known_scripts: Option<&HashSet<String>>,
known_syntax_targets: &HashSet<CharTarget>,
format_registry: Option<&FormatValidationRegistry>,
report: &mut ValidationReport,
source_file: &str,
line_no: usize,
)Expand description
Validates a parsed DcSyntaxRule AST against database registries.