expression  :   MINUS expression %prec UMINUS

def p_expression_uminus(self, p):
        ''' expression  :   MINUS expression %prec UMINUS
        '''
        _LOGGER.debug("expresion -> - expresion")

        if p[2].type == TypedClass.NUMBER: 
            p[0] = TypedClass(-p[2].value, TypedClass.NUMBER)
        else:
            raise TypeError("operator invalid for this type")