Skip to main content

synthesize

Function synthesize 

Source
pub fn synthesize(source: &str, language: Language) -> MarkdownDoc
Expand description

Extract comments from source for language and pack them into a MarkdownDoc whose paragraphs list one comment each. Each comment is also mirrored into list_items so rules that currently scan bullets (AIL100 vague-instruction, AIL104 negative-constraint-overload) fire on source-code comments without change.