Skip to main content

Module expr

Module expr 

Source
Expand description

Bound expression trees and their optimizer.

BoundExpression lives here because the scalar function vtable reduces over it: keeping it next to ScalarFnVTable lets every reduction rule be monomorphized for expression trees as well as array trees. Unbound expressions, binding, constructors and the analyses built on them live in the vortex-expr crate.

Modules§

display
Tree rendering shared by bound and unbound expressions.

Structs§

ExactBoundExpr
A bound-expression wrapper that compares shared tree identity instead of structure.

Enums§

BoundExpression
An expression that has been type-checked against a scope’s root dtype.
ExactIdentity
What identifies a bound expression to an ExactKey: the dtype of a root, or the function, dtype and shared children of a scalar node.
WeakBoundExprKey
A key that identifies a bound expression as ExactBoundExpr does, without keeping the expression alive.

Traits§

ExactKey
A bound expression compared by shared tree identity, as ExactBoundExpr compares it.