hedge :: optemplate :: PrioritizedSubexpression :: Class PrioritizedSubexpression
[hide private]
[frames] | no frames]

Class PrioritizedSubexpression

source code


When the optemplate-to-code transformation is performed, prioritized subexpressions work like common subexpression in that they are assigned their own separate identifier/register location. In addition to this behavior, prioritized subexpressions are evaluated with a settable priority, allowing the user to expedite or delay the evaluation of the subexpression.

Instance Methods [hide private]
 
__init__(self, child, priority=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getinitargs__(self) source code
 
get_extra_properties(self) source code

Inherited from pymbolic.primitives.CommonSubexpression: get_hash, get_mapper_method, is_equal

Inherited from pymbolic.primitives.Expression: __add__, __call__, __div__, __eq__, __float__, __ge__, __getitem__, __gt__, __hash__, __le__, __lt__, __mod__, __mul__, __ne__, __neg__, __pow__, __radd__, __rdiv__, __repr__, __rmul__, __rpow__, __rsub__, __rtruediv__, __str__, __sub__, __truediv__, stringifier

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, child, priority=0)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__getinitargs__(self)

source code 
Overrides: pymbolic.primitives.CommonSubexpression.__getinitargs__

get_extra_properties(self)

source code 
Overrides: pymbolic.primitives.CommonSubexpression.get_extra_properties