Expand description
Port of src/ast/math/expression.ts.
Math[name.toUpperCase()] lookups of the typescript are math_constant(): undefined is None.
Functionsยง
- build_
expression - generate a binary expression tree
- evaluate
- evaluate an array of tokens. the tokens are cloned: the result does not share any token with the input
- evaluate_
func - evaluate a math function
- inline_
expression - convert BinaryExpression into an array