Class representing the MathML <and> operator.
Definition at line 5802 of file pycml.py.
def CellMLToNektar.pycml.mathml_and._get_binding_time |
( |
|
self | ) |
|
|
private |
Return the binding time of the enclosing <apply> element.
Short-circuit if a static False operand occurs before any dynamic
operands, returning static. Otherwise return the least upper bound
of operand binding times, as usual.
Definition at line 5818 of file pycml.py.
References CellMLToNektar.pycml.mathml.eval().
5818 def _get_binding_time(self):
5819 """Return the binding time of the enclosing <apply> element. 5821 Short-circuit if a static False operand occurs before any dynamic 5822 operands, returning static. Otherwise return the least upper bound 5823 of operand binding times, as usual. 5825 app = self.xml_parent
5826 bts = [BINDING_TIMES.static]
5827 for operand
in app.operands():
5828 bt = app._get_element_binding_time(operand)
5829 if bt
is BINDING_TIMES.static:
5830 value = self.eval(operand)
5831 if not value
and len(bts) == 1: