Lines Matching defs:body

52   ScopedPtrList<Statement> body(pointer_buffer());
77 body.Add(factory()->NewReturnStatement(call, pos));
84 name, function_scope, body, expected_property_count, parameter_count,
603 ScopedPtrList<Statement> body(pointer_buffer());
611 body.Add(
614 // top level await, create an inner block and rewrite the body of the
616 // into the main body.
628 statements.MergeInto(&body);
633 &body, block, factory()->NewUndefinedLiteral(kNoSourcePosition));
642 ParseWrapped(isolate, info, &body, scope, zone());
644 ParseREPLProgram(info, &body, scope);
649 ParseStatementList(&body, Token::EOS);
676 if (body.length() != 1 || !body.at(0)->IsExpressionStatement() ||
677 !body.at(0)
687 scope, body, function_state.expected_property_count(), parameter_count);
748 ScopedPtrList<Statement>* body,
772 body->Add(return_statement);
775 void Parser::ParseREPLProgram(ParseInfo* info, ScopedPtrList<Statement>* body,
777 // REPL scripts are handled nearly the same way as the body of an async
805 impl()->RewriteAsyncFunctionBody(body, block, WrapREPLResult(result_value),
1041 // concise body happens to be a valid expression. This is a problem
1179 void Parser::ParseModuleItemList(ScopedPtrList<Statement>* body) {
1193 body->Add(stat);
2074 int pos, FunctionKind kind, ScopedPtrList<Statement>* body) {
2077 body->Add(
2079 ParseStatementList(body, Token::RBRACE);
2083 int pos, FunctionKind kind, ScopedPtrList<Statement>* body) {
2088 // ...body...;
2097 // - Any return statement inside the body will have its argument wrapped
2113 // Since the whole body is wrapped in a try-catch, make the implicit
2166 body->Add(factory()->NewTryFinallyStatement(try_block, finally_block,
2182 // for (var x = initializer in enumerable) body
2193 // for (x in enumerable) body
2271 Statement* body, Scope* inner_scope, const ForInfo& for_info) {
2280 // labels: for (let/const x = i; cond; next) body
2301 // body
2475 // and ensures that any break or continue statements in body point to
2477 loop->Initialize(nullptr, flag_cond, compound_next_statement, body);
2725 ScopedPtrList<Statement> body(pointer_buffer());
2765 ParseFunction(&body, function_name, pos, kind, function_syntax_kind, scope,
2808 function_name, scope, body, expected_property_count, num_parameters,
3031 ScopedPtrList<Statement>* body, const AstRawString* function_name, int pos,
3104 ParseFunctionBody(body, function_name, pos, formals, kind,
3572 // This method completes the desugaring of the body of async_function.
3573 void Parser::RewriteAsyncFunctionBody(ScopedPtrList<Statement>* body,
3588 body->Add(block);