/third_party/node/deps/v8/src/parsing/ |
H A D | parser-base.h | 1360 int stmt_pos, ForInfo* for_info, ZonePtrList<const AstRawString>* labels, 1364 ForInfo* for_info, ZonePtrList<const AstRawString>* labels, 1376 int stmt_pos, StatementT init, ForInfo* for_info, 6004 ForInfo for_info(this); in ParseForStatement() 6027 ParseVariableDeclarations(kForStatement, &for_info.parsing_result, in ParseForStatement() 6028 &for_info.bound_names); in ParseForStatement() 6030 DCHECK(IsLexicalVariableMode(for_info.parsing_result.descriptor.mode)); in ParseForStatement() 6031 for_info.position = position(); in ParseForStatement() 6033 if (CheckInOrOf(&for_info.mode)) { in ParseForStatement() 6036 stmt_pos, &for_info, label in ParseForStatement() 6135 ParseForEachStatementWithDeclarations( int stmt_pos, ForInfo* for_info, ZonePtrList<const AstRawString>* labels, ZonePtrList<const AstRawString>* own_labels, Scope* inner_block_scope) ParseForEachStatementWithDeclarations() argument 6218 ParseForEachStatementWithoutDeclarations( int stmt_pos, ExpressionT expression, int lhs_beg_pos, int lhs_end_pos, ForInfo* for_info, ZonePtrList<const AstRawString>* labels, ZonePtrList<const AstRawString>* own_labels) ParseForEachStatementWithoutDeclarations() argument 6249 ParseStandardForLoopWithLexicalDeclarations( int stmt_pos, StatementT init, ForInfo* for_info, ZonePtrList<const AstRawString>* labels, ZonePtrList<const AstRawString>* own_labels) ParseStandardForLoopWithLexicalDeclarations() argument [all...] |
H A D | parser.cc | 2196 Block* Parser::RewriteForVarInLegacy(const ForInfo& for_info) { in RewriteForVarInLegacy() argument 2198 for_info.parsing_result.declarations[0]; in RewriteForVarInLegacy() 2199 if (!IsLexicalVariableMode(for_info.parsing_result.descriptor.mode) && in RewriteForVarInLegacy() 2230 void Parser::DesugarBindingInForEachStatement(ForInfo* for_info, in DesugarBindingInForEachStatement() argument 2233 DCHECK_EQ(1, for_info->parsing_result.declarations.size()); in DesugarBindingInForEachStatement() 2235 for_info->parsing_result.declarations[0]; in DesugarBindingInForEachStatement() 2239 decl.initializer = factory()->NewVariableProxy(temp, for_info->position); in DesugarBindingInForEachStatement() 2246 *each_variable = factory()->NewVariableProxy(temp, for_info->position); in DesugarBindingInForEachStatement() 2251 const ForInfo& for_info) { in CreateForEachStatementTDZ() 2252 if (IsLexicalVariableMode(for_info in CreateForEachStatementTDZ() 2250 CreateForEachStatementTDZ(Block* init_block, const ForInfo& for_info) CreateForEachStatementTDZ() argument 2269 DesugarLexicalBindingsInForStatement( ForStatement* loop, Statement* init, Expression* cond, Statement* next, Statement* body, Scope* inner_scope, const ForInfo& for_info) DesugarLexicalBindingsInForStatement() argument [all...] |
H A D | preparser.h | 1394 V8_INLINE PreParserBlock RewriteForVarInLegacy(const ForInfo& for_info) { in RewriteForVarInLegacy() argument 1399 ForInfo* for_info, PreParserStatement* body_block, in DesugarBindingInForEachStatement() 1404 const ForInfo& for_info) { in CreateForEachStatementTDZ() 1405 if (IsLexicalVariableMode(for_info.parsing_result.descriptor.mode)) { in CreateForEachStatementTDZ() 1406 for (auto name : for_info.bound_names) { in CreateForEachStatementTDZ() 1418 PreParserStatement body, Scope* inner_scope, const ForInfo& for_info) { in DesugarLexicalBindingsInForStatement() 1420 for (auto name : for_info.bound_names) { in DesugarLexicalBindingsInForStatement() 1422 DeclareVariableName(name, for_info.parsing_result.descriptor.mode, in DesugarLexicalBindingsInForStatement() 1398 DesugarBindingInForEachStatement( ForInfo* for_info, PreParserStatement* body_block, PreParserExpression* each_variable) DesugarBindingInForEachStatement() argument 1403 CreateForEachStatementTDZ(PreParserBlock init_block, const ForInfo& for_info) CreateForEachStatementTDZ() argument 1415 DesugarLexicalBindingsInForStatement( PreParserStatement loop, PreParserStatement init, const PreParserExpression& cond, PreParserStatement next, PreParserStatement body, Scope* inner_scope, const ForInfo& for_info) DesugarLexicalBindingsInForStatement() argument
|
H A D | parser.h | 387 Block* RewriteForVarInLegacy(const ForInfo& for_info); 388 void DesugarBindingInForEachStatement(ForInfo* for_info, Block** body_block, 390 Block* CreateForEachStatementTDZ(Block* init_block, const ForInfo& for_info); 394 Statement* body, Scope* inner_scope, const ForInfo& for_info);
|