ast library

Utilities to manipulate Flutter Math's ASTs

See also:

Classes

AccentNode
Accent node.
AccentUnderNode
AccentUnder Nodes.
EnclosureNode
Enclosure node
EquationArrayNode
Equantion array node. Brings support for equationa alignment.
EquationRowNode
A row of unrelated GreenNodes.
FontOptions
Options for font selection.
FracNode
Frac node.
FunctionNode
Function node
GreenNode
Node of Roslyn's Green Tree. Base class of any math nodes.
LeafNode
GreenNode that doesn't have any children
LeftRightNode
Left right node.
MathOptions
Options for equation element rendering.
MatrixLayoutDelegate
MatrixNode
Matrix node
Measurement
MultiscriptsNode
Node for postscripts and prescripts
NaryOperatorNode
N-ary operator node.
OptionsDiff
Difference between the current MathOptions and the desired MathOptions.
OverNode
Over node.
ParentableNode<T extends GreenNode?>
GreenNode that can have children
PartialFontOptions
Difference between the current FontOptions and the desired FontOptions.
PhantomNode
Phantom node.
RaiseBoxNode
Raise box node which vertically displace its child.
SlotableNode<T extends EquationRowNode?>
SlotableNode is those composite node that has editable EquationRowNode as children and lay them out into certain slots.
SpaceNode
Space node. Also used for equation alignment.
SqrtNode
Square root node.
StretchyOpNode
Stretchy operator node.
StyleNode
Node to denote all kinds of style changes.
SymbolNode
Node for an unbreakable symbol.
SyntaxNode
Red Node. Immutable facade for math nodes.
SyntaxTree
Roslyn's Red-Green Tree
TransparentNode
TransparentNode refers to those node who have zero rendering content iteself, and are expected to be unwrapped for its children during rendering.
UnderNode
Under node.

Enums

AtomType
Type of atoms. See TeXBook Chap.17
MathSize
MathStyle
Math styles for equation elements.
MathStyleDiff
MatrixColumnAlign
MatrixRowAlign
MatrixSeparatorStyle
Mode
Unit

Functions

parseMathStyle(String string) MathStyle?