Lines Matching refs:result
820 DeclarationScope* result = zone()->template New<DeclarationScope>(
828 result->DeclareDefaultFunctionVariables(ast_value_factory());
830 return result;
1739 IdentifierT result = ParseIdentifier();
1742 V8_UNLIKELY(impl()->IsEvalOrArguments(result))) {
1747 return result;
1855 ExpressionT result;
1871 result = ParseArrayLiteral();
1873 result = ParseObjectLiteral();
1879 return result;
1930 ExpressionT result =
1934 return result;
2036 ExpressionT result = ParseExpressionCoverGrammar();
2038 return result;
2045 ExpressionT result = ParseAssignmentExpressionCoverGrammar();
2047 return result;
2092 // callers of this function care about the type of the result if there was
2409 ClassLiteralPropertyT result = factory()->NewClassLiteralProperty(
2413 impl()->SetFunctionNameFromPropertyName(result, prop_info->name);
2415 return result;
2446 ClassLiteralPropertyT result = factory()->NewClassLiteralProperty(
2450 impl()->SetFunctionNameFromPropertyName(result, prop_info->name);
2451 return result;
2486 ClassLiteralPropertyT result = factory()->NewClassLiteralProperty(
2492 impl()->SetFunctionNameFromPropertyName(result, prop_info->name, prefix);
2493 return result;
2620 ObjectLiteralPropertyT result = factory()->NewObjectLiteralProperty(
2622 impl()->SetFunctionNameFromPropertyName(result, name);
2623 return result;
2665 ObjectLiteralPropertyT result = factory()->NewObjectLiteralProperty(
2667 impl()->SetFunctionNameFromPropertyName(result, name);
2668 return result;
2693 ObjectLiteralPropertyT result = factory()->NewObjectLiteralProperty(
2696 impl()->SetFunctionNameFromPropertyName(result, name);
2697 return result;
2731 ObjectLiteralPropertyT result = factory()->NewObjectLiteralProperty(
2739 impl()->SetFunctionNameFromPropertyName(result, name, prefix);
2740 return result;
3411 ExpressionT result = ParseMemberExpression();
3412 if (!Token::IsPropertyOrCall(peek())) return result;
3413 return ParseLeftHandSideContinuation(result);
3418 ParserBase<Impl>::ParseLeftHandSideContinuation(ExpressionT result) {
3421 if (V8_UNLIKELY(peek() == Token::LPAREN && impl()->IsIdentifier(result) &&
3425 DCHECK(impl()->IsAsync(impl()->AsIdentifier(result)));
3442 result = impl()->ExpressionListToExpression(args);
3443 result->mark_parenthesized();
3444 return result;
3447 result = factory()->NewCall(result, args, pos, has_spread);
3452 if (!Token::IsPropertyOrCall(peek())) return result;
3473 result = factory()->NewProperty(result, key, pos, is_optional);
3483 result = factory()->NewProperty(result, index, pos, is_optional);
3497 result = factory()->NewProperty(result, key, pos, is_optional);
3518 if (result->IsFunctionLiteral()) {
3519 result->AsFunctionLiteral()->SetShouldEagerCompile();
3534 CheckPossibleEvalCall(result, is_optional, scope());
3536 result = factory()->NewCall(result, args, pos, has_spread,
3552 result = ParseTemplateLiteral(result, position(), true);
3557 impl()->RecordExpressionSourceRange(result, chain_link_range);
3561 if (optional_chaining) return factory()->NewOptionalChain(result);
3562 return result;
3590 ExpressionT result;
3599 result = ParseNewTargetExpression();
3600 return ParseMemberExpressionContinuation(result);
3602 result = ParseMemberExpression();
3603 if (result->IsSuperCallReference()) {
3617 result = factory()->NewCallNew(result, args, new_pos, has_spread);
3620 return ParseMemberExpressionContinuation(result);
3631 return factory()->NewCallNew(result, args, new_pos, false);
3660 FunctionLiteralT result = impl()->ParseFunctionLiteral(
3667 if (impl()->IsNull(result)) return impl()->FailureExpression();
3668 return result;
3687 ExpressionT result = ParsePrimaryExpression();
3688 return ParseMemberExpressionContinuation(result);
4888 FunctionLiteralT result = impl()->ParseFunctionLiteral(
4893 if (impl()->IsNull(result)) return impl()->FailureExpression();
4894 return result;
5048 ExpressionT result = ParseAssignmentExpressionCoverGrammar();
5050 if (IsValidReferenceExpression(result)) {
5055 if (impl()->IsIdentifier(result)) {
5056 if (result->is_parenthesized()) {
5061 IdentifierT identifier = impl()->AsIdentifier(result);
5064 DCHECK(result->IsProperty());
5070 } else if (result->is_parenthesized() ||
5071 (!result->IsPattern() && !result->IsAssignment())) {
5077 return result;
5280 BlockT result = factory()->NewBlock(false, true);
5281 Target target(this, result, labels, nullptr,
5285 result->InitializeStatements(statements, zone());
5286 return result;
5401 // rewriter to add a '.result' assignment to such a block (to get compliant
6044 StatementT result = impl()->NullStatement();
6051 result = ParseStandardForLoopWithLexicalDeclarations(
6057 return result;