pub fn read_oml(text: &str) -> Result<RawNode, ParseError>Expand description
Parse OML source into a canonical RawNode (edge-list or leaf).
Supports the full OML-Core grammar, plus OML-Extended raw-string ('...')
and triple-quoted multiline-string ("""...""") spellings – see the
module doc comment.
Reads under the default Limits. A safety limit crossed is reported
here, for compatibility, as a ParseError carrying the document.limit.*
code and the text position where it was crossed; read_oml_with reports
the same failure the way spec E-11 requires, as a
crate::error::DocumentError with a Document path.