Searched refs:TK_MINUS (Results 1 – 11 of 11) sorted by relevance
43 if (prefix.getOperator().kind() == Token::Kind::TK_MINUS) { in simplify_negation()104 replacement.push_back(std::make_unique<PrefixExpression>(Token::Kind::TK_MINUS, in negate_operands()119 return std::make_unique<PrefixExpression>(Token::Kind::TK_MINUS, std::move(value)); in negate_operand()161 case Token::Kind::TK_MINUS: in Convert()230 case Token::Kind::TK_MINUS: in Make()
22 case Kind::TK_MINUS: return Precedence::kAdditive; in getBinaryPrecedence()56 case Kind::TK_MINUS: in isOperator()99 case Kind::TK_MINUS: return "-"; in operatorName()160 case Kind::TK_MINUSEQ: return Operator{Kind::TK_MINUS}; in removeAssignment()208 case Token::Kind::TK_MINUS: in isValidForMatrixOrVector()
104 case Token::Kind::TK_MINUS: foldFn = +[](double a, double b) { return a - b; }; break; in simplify_vector()261 case Token::Kind::TK_MINUS: in simplify_no_op_arithmetic()267 return PrefixExpression::Make(context, Token::Kind::TK_MINUS, std::move(val)); in simplify_no_op_arithmetic()436 case Token::Kind::TK_MINUS: return URESULT(-); in Simplify()489 case Token::Kind::TK_MINUS: return RESULT(-); in Simplify()
68 TK_MINUS, enumerator
1473 case Token::Kind::TK_MINUS: OPERATOR_RIGHT(-, multiplicativeExpression); break; in additiveExpression()1502 case Token::Kind::TK_MINUS: in unaryExpression()1517 case Token::Kind::TK_MINUS: return {{ -std::move(expr)}}; in unaryExpression()
217 OP(-, TK_MINUS)249 PREFIXOP(-, TK_MINUS)
472 if (p.getOperator().kind() == Token::Kind::TK_MINUS) { in writeFunctionCall()487 if (p.getOperator().kind() == Token::Kind::TK_MINUS) { in writeFunctionCall()
713 case Token::Kind::TK_MINUS: in writeBinaryExpression()1425 case Token::Kind::TK_MINUS: { in writePrefixExpression()
2525 case Token::Kind::TK_MINUS: in writeBinaryExpression()2802 if (p.getOperator().kind() == Token::Kind::TK_MINUS) { in writePrefixExpression()
13685 #define TK_MINUS 107 macro30873 case TK_MINUS: zBinOp = "SUB"; break;81045 case TK_MINUS: zOp = "SUB"; break;106281 case TK_MINUS:106292 assert( TK_MINUS==OP_Subtract ); testcase( op==TK_MINUS );107660 case TK_MINUS:160417 #define TK_MINUS 107166241 *tokenType = TK_MINUS;
114255 *tokenType = TK_MINUS;152647 *tokenType = TK_MINUS;176684 *tokenType = TK_MINUS;