Skip to main content

Module ast

Module ast 

Source
Expand description

AST types for the equation layout tree.

The core type is EqNode — a recursive enum representing every structural element the parser can produce. You’ll pattern-match on it to build your renderer, converter, or whatever else you need.

EqMetrics is a simple struct for stashing width/ascent/descent measurements if you’re building a layout engine. It’s not used by the parser itself — it’s here for your convenience.

Structs§

EqMetrics
Measured dimensions of a laid-out equation node.

Enums§

AccentKind
The kind of accent mark in an EqNode::Accent node.
EqNode
A node in the equation layout tree.
MathFontKind
The font family in a EqNode::MathFont node.
MatrixKind
The delimiter style for a EqNode::Matrix node.