eqdisco.expr.Node#

class eqdisco.expr.Node(kind, value, fixed=False)[source]#

Bases: NamedTuple

One node of a prefix expression.

kind is FUNC, VAR or CONST; value is the Primitive, the column index or the numeric value; fixed marks constants that are not parameters.

fixed#

Alias for field number 2

key()[source]#

Hashable identity used for deduplication and canonical forms.

kind#

Alias for field number 0

value#

Alias for field number 1