tiger_lib::desc

Function validate_desc_map

Source
pub fn validate_desc_map<F: Fn(&Token, &Everything, &mut ScopeContext)>(
    bv: &BV,
    data: &Everything,
    sc: &mut ScopeContext,
    f: F,
)
Expand description

Like validate_desc, but allows the caller to decide what to do with the strings found in the description. This is useful for example for description blocks that resolve an icon name rather than a description.