pub fn parse_schema_definitions<'a, T>(
s: &'a str,
) -> impl Iterator<Item = Result<Definition<'a, T>, ParseError>>where
T: Text<'a>,Expand description
Parses a schema one definition at a time. The caller decides what to keep, so a huge schema can be processed without the AST of the whole document in memory at once.