Module tree

Source
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 expressions
  • Intermediate - The most complicated single expression, this can be a high level fraction
  • Frac - A high level fraction, often parsed with a /
  • ScriptFunc - A scripted expression that can be a Func or just a simple expression
  • Func - A function like sin that can contain independent super- and subscripts prior to its argument
  • SimpleScript - A simple expression that has super- and subscripts
  • Simple - A simple expression like a Symbol or Identifier

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]]”
MatrixRows
An iterator over rows of a matrix
SimpleBinary
A binary operator like “root”
SimpleFunc
A simple func like “sin”
SimpleScript
A simple expressiong with attached scripts
SimpleUnary
A unary operator like “sqrt”

Enums§

Intermediate
An intermediate expression
Script
scripts attached to some other object
ScriptFunc
A scripted object or a scripted function
Simple
A simple element of parsing