def p_expression_not(p):
    p[0] = ast.NegateOperator(p[2])
    p[0].set_position(p.lineno(1), p.lexpos(1))
expression : NOT expression
dataset/ETHPy150Open armon/pypred/pypred/parser.py/p_expression_not