pub fn parse(source: &str) -> Result<Node, MathError>Expand description
Parse a whole source string as mathematics (the Tex surface). The
result is a NodeKind::List node spanning the whole input; every
descendant carries its byte span.
ยงErrors
MathError::UnsupportedCommand for constructs outside the implemented
surface (named precisely, tier-tagged); MathError::Malformed for
structural faults (unbalanced groups, double scripts, stray \right,
over-deep nesting), with the byte offset of the offense.