Lines Matching refs:right
98 const Value& right,
125 right.type() == Value::LIST &&
126 !right.list_value().empty()) {
133 base::IntToString(right.list_value().size()) + "). Did you mean " +
143 if (right.type() == Value::LIST && left.value() == kSourcesName) {
149 set_value->list_value().reserve(right.list_value().size());
150 AppendFilteredSourcesToValue(scope, right, set_value);
153 scope->SetValue(left.value(), right, op_node->right());
164 const Value& right,
170 switch (right.type()) {
172 left->int_value() += right.int_value();
178 base::Int64ToString(left->int_value()) + right.string_value());
190 switch (right.type()) {
192 left->string_value().append(base::Int64ToString(right.int_value()));
196 left->string_value().append(right.string_value());
206 switch (right.type()) {
210 AppendFilteredSourcesToValue(scope, right, left);
212 left->list_value().push_back(right);
218 AppendFilteredSourcesToValue(scope, right, left);
221 for (size_t i = 0; i < right.list_value().size(); i++)
222 left->list_value().push_back(right.list_value()[i]);
236 Value::DescribeType(right.type()) + ".");
242 const Value& right,
253 ValuePlusEquals(scope, op_node, left, left_value, right, false, err);
261 const Value& right,
267 switch (right.type()) {
269 left->int_value() -= right.int_value();
283 RemoveMatchesFromList(op_node, left, right, err);
292 Value::DescribeType(right.type()) + ".");
298 const Value& right,
307 ValueMinusEquals(op_node, left_value, right, false, err);
318 const Value& right,
321 ValuePlusEquals(scope, op_node, Token(), &ret, right, true, err);
329 const Value& right,
332 ValueMinusEquals(op_node, &ret, right, true, err);
342 const Value& right,
344 if (left == right)
352 const Value& right,
355 Value result = ExecuteEqualsEquals(scope, op_node, left, right, err);
362 const Value& right,
367 err->AppendRange(right.origin()->GetRange());
374 const Value& right,
376 if (left.type() != Value::INTEGER || right.type() != Value::INTEGER)
377 return FillNeedsToIntegersError(op_node, left, right, err);
378 return Value(op_node, left.int_value() <= right.int_value());
384 const Value& right,
386 if (left.type() != Value::INTEGER || right.type() != Value::INTEGER)
387 return FillNeedsToIntegersError(op_node, left, right, err);
388 return Value(op_node, left.int_value() >= right.int_value());
394 const Value& right,
396 if (left.type() != Value::INTEGER || right.type() != Value::INTEGER)
397 return FillNeedsToIntegersError(op_node, left, right, err);
398 return Value(op_node, left.int_value() > right.int_value());
404 const Value& right,
406 if (left.type() != Value::INTEGER || right.type() != Value::INTEGER)
407 return FillNeedsToIntegersError(op_node, left, right, err);
408 return Value(op_node, left.int_value() < right.int_value());
416 const Value& right,
419 static_cast<int64>(left.InterpretAsInt() || right.InterpretAsInt()));
425 const Value& right,
428 static_cast<int64>(left.InterpretAsInt() && right.InterpretAsInt()));
486 const ParseNode* right,
503 Value right_value = right->Execute(scope, err);
508 "This thing on the right does not evaluate to a value.");
509 err->AppendRange(right->GetRange());
534 // Right value. Note: don't move this above to share code with the lvalue
536 Value right_value = right->Execute(scope, err);
541 "This thing on the right does not evaluate to a value.");
542 err->AppendRange(right->GetRange());