def p_unary_expression(self, p):
        if len(p) == 2:
            p[0] = p[1]
        elif type(p[1]) == tuple:
            # unary_operator reduces to (op, op_str)
            p[0] = UnaryExpressionNode(p[1][0], p[1][1], p[2])
        else:
            # TODO
            p[0] = None
unary_expression : postfix_expression
dataset/ETHPy150Open ardekantur/pyglet/tools/wraptypes/preprocessor.py/ConstantExpressionGrammar.p_unary_expression