Skip to main content

parse_text

Function parse_text 

Source
pub fn parse_text<P>(name: &P, line: &str) -> Vec<Directive>
where P: AsRef<Path> + ?Sized,
Expand description

Parses some text and returns contained directives.

If any errors are encountered during parsing, they are printed to stderr.