Expand description
Structs§
- Additional
Functions 🔒 - Additional functions within math functions that are permitted to be parsed depending on
the context of parsing (e.g. Parsing
insetallows use ofanchor()withincalc()). - Calc
Length Percentage - A
calc()expression that is known to resolve to a<length-percentage>. - Calc
Numeric - A struct to hold a simplified calc expression and associated clamping mode.
- Calc
Parse Flags - What is allowed to be parsed for math functions within in this context?
- Math
Function Iter - An iterator over the variants of MathFunction
Enums§
- Allow
Anchor Positioning Functions - Should parsing anchor-positioning functions in
calc()be allowed? - Calc
Node Parse InPlace Operations - Whether in place operations should be done when parsing expressions to create CalcNode
- Leaf
- A leaf node inside a
Calcexpression’s AST. - Math
Function - The name of the mathematical function that we’re parsing.
Functions§
Type Aliases§
- Calc
Anchor Function - Specified
anchor()function in math functions. - Calc
Anchor Size Function - Specified
anchor-size()function in math functions. - Calc
Node - A calc node representation for specified values.