definitions

Definitions for tt’s expression grammar, operands, and operators.

definitions.grammar module

Definitions related to expression grammar.

definitions.operands module

Definitions related to operands.

definitions.operators module

Definitions for tt’s built-in Boolean operators.

class tt.definitions.operators.BooleanOperator(precedence, eval_func, name)

Bases: object

A wrapper around a Boolean operator.

precedence

int

The precendence of this operator, relative to other operators.

eval_func

function

The function representing the operation to be performed by this operator.