Expand description
The module containing all of the structures that defined a parsed representation of asciimath
Expression
- A full expression containing a sequence of intermediate expressionsIntermediate
- The most complicated single expression, this can be a high level fractionFrac
- A high level fraction, often parsed with a/
ScriptFunc
- A scripted expression that can be aFunc
or just a simple expressionFunc
- A function likesin
that can contain independent super- and subscripts prior to its argumentSimpleScript
- A simple expression that has super- and subscriptsSimple
- A simple expression like aSymbol
orIdent
ifier
The exceptions to this hierarchy are Group
and Matrix
that “reset” the hierarchy by
wrapping expressions.
Structs§
- Expression
- A full expression
- Frac
- A high level fraction
- Func
- A full function that has complicated arguments and attached scripts
- Group
- A bracketd group that allows inserting complicated expressions in simplex contexts
- Matrix
- A matrix e.g. “[[a, b], [x, y]]”
- Matrix
Rows - An iterator over rows of a matrix
- Simple
Binary - A binary operator like “root”
- Simple
Func - A simple func like “sin”
- Simple
Script - A simple expressiong with attached scripts
- Simple
Unary - A unary operator like “sqrt”
Enums§
- Intermediate
- An intermediate expression
- Script
- scripts attached to some other object
- Script
Func - A scripted object or a scripted function
- Simple
- A simple element of parsing