Skip to main content

parse

Function parse 

Source
pub fn parse(xml: &str) -> Result<Ir, ParseError>
Expand description

Parse an SBE schema from a string. Returns a token Ir ready for crate::Schema::from_ir.

§Errors

ParseError with source spans when the XML is malformed or the schema is structurally invalid.