Home
last modified time | relevance | path

Searched refs:for_info (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/parsing/
Dparser.cc1917 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()
[all …]
Dparser-base.h5152 ForInfo for_info(this); in ParseForStatement()
5168 ParseVariableDeclarations(kForStatement, &for_info.parsing_result, in ParseForStatement()
5171 IsLexicalVariableMode(for_info.parsing_result.descriptor.mode); in ParseForStatement()
5172 for_info.position = scanner()->location().beg_pos; in ParseForStatement()
5174 if (CheckInOrOf(&for_info.mode)) { in ParseForStatement()
5176 if (for_info.parsing_result.declarations.length() != 1) { in ParseForStatement()
5178 for_info.parsing_result.bindings_loc, in ParseForStatement()
5180 ForEachStatement::VisitModeString(for_info.mode)); in ParseForStatement()
5184 if (for_info.parsing_result.first_initializer_loc.IsValid() && in ParseForStatement()
5186 for_info.mode == ForEachStatement::ITERATE || in ParseForStatement()
[all …]
Dpreparser.h1242 V8_INLINE PreParserStatement RewriteForVarInLegacy(const ForInfo& for_info) {
1246 ForInfo* for_info, PreParserStatement* body_block,
1249 PreParserStatement init_block, const ForInfo& for_info, bool* ok) {
1256 PreParserStatement body, Scope* inner_scope, const ForInfo& for_info,
Dparser.h461 Block* RewriteForVarInLegacy(const ForInfo& for_info);
462 void DesugarBindingInForEachStatement(ForInfo* for_info, Block** body_block,
464 Block* CreateForEachStatementTDZ(Block* init_block, const ForInfo& for_info,
469 Statement* body, Scope* inner_scope, const ForInfo& for_info, bool* ok);