def p_expBool_5(t): """ expBool : expBool optBoolPredicate """ t[0] = expression.UnaryLogicalOperation(t[1], t[2], t[1].row, t[1].column) repGrammar.append(t.slice)
def p_expBool_2(t): """ expBool : R_NOT expBool """ t[0] = expression.UnaryLogicalOperation(t[2], t[1], t[2].row, t[2].column) repGrammar.append(t.slice)