Lines Matching refs:for_info
1917 Block* Parser::RewriteForVarInLegacy(const ForInfo& for_info) { in RewriteForVarInLegacy() argument
1919 for_info.parsing_result.declarations[0]; in RewriteForVarInLegacy()
1920 if (!IsLexicalVariableMode(for_info.parsing_result.descriptor.mode) && in RewriteForVarInLegacy()
1926 nullptr, 2, true, for_info.parsing_result.descriptor.declaration_pos); in RewriteForVarInLegacy()
1953 void Parser::DesugarBindingInForEachStatement(ForInfo* for_info, in DesugarBindingInForEachStatement() argument
1958 for_info->parsing_result.declarations[0]; in DesugarBindingInForEachStatement()
1963 auto descriptor = for_info->parsing_result.descriptor; in DesugarBindingInForEachStatement()
1969 for_info->mode == ForEachStatement::ITERATE && in DesugarBindingInForEachStatement()
1970 for_info->parsing_result.descriptor.mode == VariableMode::VAR; in DesugarBindingInForEachStatement()
1974 (IsLexicalVariableMode(for_info->parsing_result.descriptor.mode) || in DesugarBindingInForEachStatement()
1976 ? &for_info->bound_names in DesugarBindingInForEachStatement()
1994 for_info->bound_names.Contains(name)) { in DesugarBindingInForEachStatement()
1995 ReportMessageAt(for_info->parsing_result.bindings_loc, in DesugarBindingInForEachStatement()
2008 *each_variable = factory()->NewVariableProxy(temp, for_info->position); in DesugarBindingInForEachStatement()
2013 const ForInfo& for_info, bool* ok) { in CreateForEachStatementTDZ() argument
2014 if (IsLexicalVariableMode(for_info.parsing_result.descriptor.mode)) { in CreateForEachStatementTDZ()
2019 for (int i = 0; i < for_info.bound_names.length(); ++i) { in CreateForEachStatementTDZ()
2023 Declaration* tdz_decl = DeclareVariable(for_info.bound_names[i], LET, in CreateForEachStatementTDZ()
2156 Statement* body, Scope* inner_scope, const ForInfo& for_info, bool* ok) { in DesugarLexicalBindingsInForStatement() argument
2194 DCHECK(for_info.bound_names.length() > 0); in DesugarLexicalBindingsInForStatement()
2195 ZoneList<Variable*> temps(for_info.bound_names.length(), zone()); in DesugarLexicalBindingsInForStatement()
2198 nullptr, for_info.bound_names.length() + 4, false, kNoSourcePosition); in DesugarLexicalBindingsInForStatement()
2207 for (int i = 0; i < for_info.bound_names.length(); i++) { in DesugarLexicalBindingsInForStatement()
2208 VariableProxy* proxy = NewUnresolved(for_info.bound_names[i]); in DesugarLexicalBindingsInForStatement()
2253 nullptr, for_info.bound_names.length() + 3, true, kNoSourcePosition); in DesugarLexicalBindingsInForStatement()
2254 ZoneList<Variable*> inner_vars(for_info.bound_names.length(), zone()); in DesugarLexicalBindingsInForStatement()
2257 for (int i = 0; i < for_info.bound_names.length(); i++) { in DesugarLexicalBindingsInForStatement()
2259 for_info.bound_names[i], for_info.parsing_result.descriptor.mode, in DesugarLexicalBindingsInForStatement()
2344 for (int i = 0; i < for_info.bound_names.length(); i++) { in DesugarLexicalBindingsInForStatement()