parse_spinners

Function parse_spinners 

Source
pub fn parse_spinners(source: &str) -> Result<Vec<SpinnerAst>, AstError>
Expand description

Parse only spinners from a source (helper/testing). Parse only spinner definitions from the given source.

ยงErrors

Returns an error if the source cannot be parsed into spinners.