Lines Matching defs:body

353   // the body can use to continue this iteration statement. This is always a
1235 void ParseAsyncFunctionBody(Scope* scope, StatementListT* body);
1272 void ParseFunctionBody(StatementListT* body, IdentifierT function_name,
1311 // a pointer whereas the preparser does not really modify the body.
1312 V8_INLINE void ParseStatementList(StatementListT* body,
1372 StatementT* next, StatementT* body);
1587 // the place where the arrow head was parsed to where the body will be parsed.
1588 // Nothing can be parsed between the head and the body, so it will be consumed
1776 // class body.
2535 // later with the positions of the class body so that we can reparse
4309 StatementListT* body, IdentifierT function_name, int pos,
4325 body->Add(init_block);
4438 inner_body.MergeInto(body);
4537 StatementListT body(pointer_buffer());
4545 // Multiple statement body
4550 // body is preparsed; move relevant parts of parameter handling to
4601 ParseFunctionBody(&body, impl()->NullIdentifier(), kNoSourcePosition,
4612 ParseFunctionBody(&body, impl()->NullIdentifier(), kNoSourcePosition,
4619 // Single-expression body
4622 ParseFunctionBody(&body, impl()->NullIdentifier(), kNoSourcePosition,
4640 impl()->EmptyIdentifierString(), formal_parameters.scope, body,
4795 // Use the positions of the class body for the instance initializer
4839 StatementListT* body) {
4847 body, block, factory()->NewUndefinedLiteral(kNoSourcePosition));
5107 void ParserBase<Impl>::ParseStatementList(StatementListT* body,
5111 DCHECK_NOT_NULL(body);
5132 body->Add(stat);
5141 // in the body of a function with non-simple parameter list, on
5165 body->Add(stat);
5330 BlockT body = factory()->NewBlock(false, labels != nullptr);
5338 Target target(this, body, labels, nullptr, Target::TARGET_FOR_NAMED_ONLY);
5344 if (impl()->IsNull(stat)) return body;
5354 impl()->RecordBlockSourceRange(body, end_pos);
5355 body->set_scope(scope()->FinalizeBlockScope());
5358 body->InitializeStatements(statements, zone());
5359 return body;
5379 StatementT body = ParseFunctionDeclaration();
5380 block->statements()->Add(body, zone());
5697 StatementT body = impl()->NullStatement();
5701 body = ParseStatement(labels, nullptr);
5704 return factory()->NewWithStatement(with_scope, expr, body, pos);
5719 StatementT body = impl()->NullStatement();
5726 body = ParseStatement(nullptr, nullptr);
5740 loop->Initialize(cond, body);
5758 StatementT body = impl()->NullStatement();
5766 body = ParseStatement(nullptr, nullptr);
5769 loop->Initialize(cond, body);
6125 StatementT body = impl()->NullStatement();
6127 ParseStandardForLoop(stmt_pos, labels, own_labels, &cond, &next, &body);
6129 loop->Initialize(init, cond, next, body);
6182 StatementT body = impl()->NullStatement();
6185 body = ParseStatement(nullptr, nullptr);
6191 body_block->statements()->Add(body, zone());
6235 StatementT body = impl()->NullStatement();
6239 body = ParseStatement(nullptr, nullptr);
6243 loop->Initialize(expression, enumerable, body);
6259 StatementT body = impl()->NullStatement();
6264 ParseStandardForLoop(stmt_pos, labels, own_labels, &cond, &next, &body);
6274 loop, init, cond, next, body, inner_scope, *for_info);
6298 loop->Initialize(impl()->NullStatement(), cond, next, body);
6302 loop->Initialize(init, cond, next, body);
6310 StatementT* next, StatementT* body) {
6329 *body = ParseStatement(nullptr, nullptr);
6436 StatementT body = impl()->NullStatement();
6444 body = ParseStatement(nullptr, nullptr);
6453 body_block->statements()->Add(body, zone());
6455 body = body_block;
6463 loop->Initialize(each_variable, iterable, body);