Skip to main content

parse_line

Function parse_line 

Source
pub fn parse_line(text: &str, mode: Option<Mode>) -> Result<Line, MusicError>
Expand description

Parses a line of numerals separated by -, –, spaces or commas, in mode when given.

§Errors

MusicError::UnknownNumeral for the first part that is no numeral.