Lines Matching defs:value
49 // Set start and end position to the same value
174 int value = DoubleToInt32(x_val) | DoubleToInt32(y_val);
175 *x = factory()->NewNumberLiteral(value, pos);
179 int value = DoubleToInt32(x_val) & DoubleToInt32(y_val);
180 *x = factory()->NewNumberLiteral(value, pos);
184 int value = DoubleToInt32(x_val) ^ DoubleToInt32(y_val);
185 *x = factory()->NewNumberLiteral(value, pos);
189 int value =
191 *x = factory()->NewNumberLiteral(value, pos);
196 uint32_t value = DoubleToUint32(x_val) >> shift;
197 *x = factory()->NewNumberLiteral(value, pos);
202 int value = ArithmeticShiftRight(DoubleToInt32(x_val), shift);
203 *x = factory()->NewNumberLiteral(value, pos);
270 double value = literal->AsNumber();
275 return factory()->NewNumberLiteral(-value, pos);
277 return factory()->NewNumberLiteral(~DoubleToInt32(value), pos);
340 uint32_t value = scanner()->smi_value();
341 return factory()->NewSmiLiteral(value, pos);
344 double value = scanner()->DoubleValue();
345 return factory()->NewNumberLiteral(value, pos);
778 // function. The difference is the value used to resolve the async
780 // For a REPL script this is the completion value of the
782 // completion value of the script is obtained by manually invoking
809 Expression* Parser::WrapREPLResult(Expression* value) {
817 // would chain the promises and return the resolve value instead of
823 factory()->NewObjectLiteralProperty(property_name, value, true);
1391 // Set the location to the whole "key: 'value'"" string, so that it makes
1392 // sense both for errors due to the key and errors due to the value.
1560 Expression* value = ParseAssignmentExpression();
1561 SetFunctionName(value, ast_value_factory()->default_string());
1574 Token::INIT, proxy, value, kNoSourcePosition);
1886 Expression* value,
1895 factory()->NewAssignment(Token::INIT, proxy, value, class_token_pos);
1981 // value, in case the switch statements don't have a value.
2103 // "done" iterator result object containing a Promise-unwrapped value.
2276 // Extra care is needed to preserve the completion value of the original loop.
2582 initializer = assignment->value();
3198 int pos = property->value()->position();
3217 class_info->constructor = property->value()->AsFunctionLiteral();
3601 // If the property value is an anonymous function or an anonymous class or
3604 DCHECK_IMPLIES(property->value()->IsAnonymousFunctionDefinition() ||
3605 property->value()->IsConciseMethodDefinition() ||
3606 property->value()->IsAccessorFunctionDefinition(),
3610 Expression* value = property->value();
3611 SetFunctionName(value, name, prefix);
3622 DCHECK(!property->value()->IsAnonymousFunctionDefinition() ||
3629 void Parser::SetFunctionNameFromIdentifierRef(Expression* value,
3634 SetFunctionName(value, identifier->AsVariableProxy()->raw_name());
3637 void Parser::SetFunctionName(Expression* value, const AstRawString* name,
3639 if (!value->IsAnonymousFunctionDefinition() &&
3640 !value->IsConciseMethodDefinition() &&
3641 !value->IsAccessorFunctionDefinition()) {
3644 auto function = value->AsFunctionLiteral();
3645 if (value->IsClassLiteral()) {
3646 function = value->AsClassLiteral()->constructor();