pub fn reader(
lang: &BuiltLang,
elements: Arc<dyn ElementResolver>,
) -> Result<SerdeSession<Flm>, RegistrationError>Expand description
Creates a reading session over the built language lang, in which
elements resolves every element name other than the structural elements.
This is reader_with with no payload readers; use reader_with to read
trees that hold presentation nodes.
§Errors
The registration errors of register.