Skip to main content

scan_shortcode_uses

Function scan_shortcode_uses 

Source
pub fn scan_shortcode_uses(source: &str) -> HashSet<String>
Expand description

Scan a Brief source for shortcode invocations. Returns the set of names referenced. Conservative: catches @name(...), @name[...], and bare @name followed by whitespace. Used only to decide which files need recompilation when a template changes — false positives just cause a redundant recompile, never a missed one.