Function taml::parsing::parse [−][src]
pub fn parse<'a, P: Position>(
iter: impl IntoIterator<Item = impl IntoToken<'a, P>>,
reporter: &mut impl Reporter<P>
) -> Result<Map<'a, P>, ()>
Expand description
Parses TAML tokens into a map representing the contained structure.
Any errors and warnings are reported via reporter
.
Errors
Iff the given input from iter
is invalid.