def _process_math(self, node, math_operator=None, function=None, **kwargs):
with self._interpolation():<EOL><INDENT>if function:<EOL><INDENT>self.output.write(function)<EOL>self.output.write('<STR_LIT:(>')<EOL><DEDENT>self._process_node(node.left, **kwargs)<EOL>self.output.write(math_operator)<EOL>self._process_node(node.right, **kwargs)<EOL>if function:<EOL><INDENT>self.output.write('<STR_LIT:)>')<EOL><DEDENT><DEDENT>
Processes a math node e.g. `Div`, `Sub`, `Add`, `Mul` etc...
If `function` is provided the expression is wrapped in a call to that function.