template_expr

Classes

Boolean_GetAttrExpression([args])

Boolean_GetItemExpression([args])

CallExpression(args, kwargs)

Expression to call __call__() on the base object.

GetAttrExpression([args])

Expression to call __getattr__() on the base object.

GetItemExpression([args])

Expression to call __getitem__() on the base object.

IndexTemplate(_set[, index, _id, _group])

A "placeholder" for an index value in template expressions.

NPV_Boolean_GetAttrExpression([args])

NPV_Boolean_GetItemExpression([args])

NPV_Numeric_GetAttrExpression([args])

NPV_Numeric_GetItemExpression([args])

NPV_Structural_GetAttrExpression([args])

NPV_Structural_GetItemExpression([args])

Numeric_GetAttrExpression([args])

Numeric_GetItemExpression([args])

ReplaceTemplateExpression(substituter, ...)

Structural_GetAttrExpression([args])

Structural_GetItemExpression([args])

TemplateSumExpression(args, _iters)

Expression to represent an unexpanded sum over one or more sets.

Functions

resolve_template(expr)

Resolve a template into a concrete expression

substitute_getitem_with_param(expr, _map)

A simple substituter to replace _GetItem nodes with mutable Params.

substitute_template_expression(expr, ...)

Substitute IndexTemplates in an expression tree.

substitute_template_with_value(expr)

A simple substituter to expand expression for current template

templatize_constraint(con)

templatize_rule(block, rule, index_set)