Searched refs:for_info (Results 1 – 4 of 4) sorted by relevance
/external/v8/src/parsing/ |
D | preparser.h | 1419 V8_INLINE PreParserStatement RewriteForVarInLegacy(const ForInfo& for_info) { 1424 ForInfo* for_info, PreParserStatement* body_block, 1427 DCHECK_EQ(1, for_info->parsing_result.declarations.size()); 1429 for_info->mode == ForEachStatement::ITERATE && 1430 for_info->parsing_result.descriptor.mode == VariableMode::kVar; 1432 IsLexicalVariableMode(for_info->parsing_result.descriptor.mode) || 1436 PreParserStatement::Default(), &for_info->parsing_result.descriptor, 1437 &for_info->parsing_result.declarations[0], 1438 collect_names ? &for_info->bound_names : nullptr, ok); 1443 PreParserStatement init_block, const ForInfo& for_info, bool* ok) { [all …]
|
D | parser-base.h | 1291 int stmt_pos, ForInfo* for_info, ZonePtrList<const AstRawString>* labels, 1296 ForInfo* for_info, ZonePtrList<const AstRawString>* labels, 1308 int stmt_pos, StatementT init, ForInfo* for_info, 5714 ForInfo for_info(this); in ParseForStatement() 5736 ParseVariableDeclarations(kForStatement, &for_info.parsing_result, in ParseForStatement() 5739 DCHECK(IsLexicalVariableMode(for_info.parsing_result.descriptor.mode)); in ParseForStatement() 5740 for_info.position = scanner()->location().beg_pos; in ParseForStatement() 5742 if (CheckInOrOf(&for_info.mode)) { in ParseForStatement() 5745 stmt_pos, &for_info, labels, own_labels, inner_block_scope, ok); in ParseForStatement() 5751 &for_info.parsing_result, &for_info.bound_names, CHECK_OK); in ParseForStatement() [all …]
|
D | parser.cc | 1875 Block* Parser::RewriteForVarInLegacy(const ForInfo& for_info) { in RewriteForVarInLegacy() argument 1877 for_info.parsing_result.declarations[0]; in RewriteForVarInLegacy() 1878 if (!IsLexicalVariableMode(for_info.parsing_result.descriptor.mode) && in RewriteForVarInLegacy() 1909 void Parser::DesugarBindingInForEachStatement(ForInfo* for_info, in DesugarBindingInForEachStatement() argument 1913 DCHECK_EQ(1, for_info->parsing_result.declarations.size()); in DesugarBindingInForEachStatement() 1915 for_info->parsing_result.declarations[0]; in DesugarBindingInForEachStatement() 1919 auto descriptor = for_info->parsing_result.descriptor; in DesugarBindingInForEachStatement() 1926 for_info->mode == ForEachStatement::ITERATE && in DesugarBindingInForEachStatement() 1927 for_info->parsing_result.descriptor.mode == VariableMode::kVar; in DesugarBindingInForEachStatement() 1929 IsLexicalVariableMode(for_info->parsing_result.descriptor.mode) || in DesugarBindingInForEachStatement() [all …]
|
D | parser.h | 373 Block* RewriteForVarInLegacy(const ForInfo& for_info); 374 void DesugarBindingInForEachStatement(ForInfo* for_info, Block** body_block, 376 Block* CreateForEachStatementTDZ(Block* init_block, const ForInfo& for_info, 381 Statement* body, Scope* inner_scope, const ForInfo& for_info, bool* ok);
|