def visit_UnaryOpExpr(self, node: UnaryOpExpr) -> gtir.UnaryOp: return gtir.UnaryOp(op=self.GT4PY_UNARYOP_TO_GTIR[node.op], expr=self.visit(node.arg))
def visit_UnaryOpExpr(self, node: UnaryOpExpr) -> gtir.UnaryOp: return gtir.UnaryOp( op=self.GT4PY_UNARYOP_TO_GTIR[node.op], expr=self.visit(node.arg), loc=location_to_source_location(node.loc), )