Searched refs:ForEachStatement (Results 1 – 3 of 3) sorted by relevance
514 class ForEachStatement : public IterationStatement {540 ForEachStatement(int pos, NodeType type) in ForEachStatement() function547 class ForInStatement final : public ForEachStatement {552 explicit ForInStatement(int pos) : ForEachStatement(pos, kForInStatement) {} in ForInStatement()556 class ForOfStatement final : public ForEachStatement {565 : ForEachStatement(pos, kForOfStatement), type_(type) {} in ForOfStatement()2861 ForEachStatement* NewForEachStatement(ForEachStatement::VisitMode visit_mode, in NewForEachStatement()2864 case ForEachStatement::ENUMERATE: { in NewForEachStatement()2867 case ForEachStatement::ITERATE: { in NewForEachStatement()
581 mode(ForEachStatement::ENUMERATE), in ForInfo()585 ForEachStatement::VisitMode mode;969 bool CheckInOrOf(ForEachStatement::VisitMode* visit_mode) { in CheckInOrOf()971 *visit_mode = ForEachStatement::ENUMERATE; in CheckInOrOf()974 *visit_mode = ForEachStatement::ITERATE; in CheckInOrOf()6094 for_info.mode == ForEachStatement::ITERATE) { in ParseForStatement()6142 ForEachStatement::VisitModeString(for_info->mode)); in ParseForEachStatementWithDeclarations()6147 for_info->mode == ForEachStatement::ITERATE || in ParseForEachStatementWithDeclarations()6153 ForEachStatement::VisitModeString(for_info->mode)); in ParseForEachStatementWithDeclarations()6163 if (for_info->mode == ForEachStatement::ITERATE) { in ParseForEachStatementWithDeclarations()[all …]
775 PreParserStatement NewForEachStatement(ForEachStatement::VisitMode visit_mode, in NewForEachStatement()