Skip to main content

parse_spec

Function parse_spec 

Source
pub fn parse_spec(spec: &str) -> Vec<ArgSpec>
Expand description

Parse an xparse argument-spec string into the {…}/[…] argument slots it declares, in order. See the module docs for the type-by-type mapping.