Home | History | Annotate | Download | only in parsing

Lines Matching defs:loop

1992           // If it's a simple binding and the name is declared in the for loop.
2038 // If finalize is true, also instrument the loop with code that performs the
2140 // { #loop-body; #set_completion_normal }
2155 ForStatement* loop, Statement* init, Expression* cond, Statement* next,
2157 // ES6 13.7.4.8 specifies that on each loop iteration the let variables are
2161 // Extra care is needed to preserve the completion value of the original loop.
2239 // Note that we don't actually create the label, or set this loop up as an
2321 // Make cond expression for main loop: flag == 1.
2359 // Note that we re-use the original loop node, which retains its labels
2362 loop->Initialize(NULL, flag_cond, compound_next_statement, body);
2363 inner_block->statements()->Add(loop, zone());
4433 // If it's a spread, we're adding a for/of loop iterating through it.
4448 ForEachStatement* loop = factory()->NewForEachStatement(
4451 InitializeForOfStatement(loop->AsForOfStatement(),
4454 do_block->statements()->Add(loop, zone());
4525 // loop containing a "raw" yield (a yield that doesn't wrap an iterator result
4606 WhileStatement* loop = factory()->NewWhileStatement(nullptr, nopos);
4804 BreakStatement* break_loop = factory()->NewBreakStatement(loop, nopos);
4924 finally->statements()->Add(factory()->NewContinueStatement(loop, nopos),
4964 // Already defined earlier: WhileStatement* loop = ...
4972 loop->Initialize(factory()->NewBooleanLiteral(true, nopos), loop_body);
4987 do_block_->statements()->Add(loop, zone());
5395 Statement* Parser::FinalizeForOfStatement(ForOfStatement* loop,
5398 // This function replaces the loop with the following wrapping:
5403 // #loop;
5414 // Note that the loop's body and its assign_each already contain appropriate
5427 Token::EQ_STRICT, factory()->NewVariableProxy(loop->iterator()),
5437 try_block->statements()->Add(loop, zone());
5439 // The scope in which the parser creates this loop.
5445 loop->iterator(), try_block, final_loop);