Skip to main content

catch_all_context

Function catch_all_context 

Source
pub fn catch_all_context<'a>(
    type_def: &'a TypeDefinition,
    buf: &'a mut Vec<&'a str>,
) -> Option<CatchAllContext<'a>>
Expand description

Build a CatchAllContext for a type, when it has a catch-all section. The borrowed heading list lives in buf, which the caller owns.