Home
last modified time | relevance | path

Searched refs:ForEachStatement (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/ast/
Dast.h800 class ForEachStatement : public IterationStatement {
824 ForEachStatement(Zone* zone, ZoneList<const AstRawString*>* labels, int pos) in ForEachStatement() function
834 class ForInStatement final : public ForEachStatement {
845 ForEachStatement::AssignFeedbackVectorSlots(isolate, spec, cache); in AssignFeedbackVectorSlots()
870 : ForEachStatement(zone, labels, pos), for_in_type_(SLOW_FOR_IN) {} in ForInStatement()
871 static int parent_num_ids() { return ForEachStatement::num_ids(); } in parent_num_ids()
881 class ForOfStatement final : public ForEachStatement {
892 ForEachStatement::Initialize(each, subject, body); in DECLARE_NODE_TYPE()
936 : ForEachStatement(zone, labels, pos), in ForOfStatement()
941 static int parent_num_ids() { return ForEachStatement::num_ids(); } in parent_num_ids()
[all …]
Dast.cc137 void ForEachStatement::AssignFeedbackVectorSlots( in AssignFeedbackVectorSlots()
/external/v8/src/parsing/
Dpreparser.cc916 ForEachStatement::VisitMode mode; in ParseForStatement()
932 mode == ForEachStatement::ITERATE ? "for-of" : "for-in"; in ParseForStatement()
940 (is_strict(language_mode()) || mode == ForEachStatement::ITERATE || in ParseForStatement()
942 if (mode == ForEachStatement::ITERATE) { in ParseForStatement()
Dparser.cc3203 void Parser::InitializeForEachStatement(ForEachStatement* stmt, in InitializeForEachStatement()
3564 ForEachStatement::VisitMode mode; in ParseForStatement()
3572 mode == ForEachStatement::ITERATE ? "for-of" : "for-in"; in ParseForStatement()
3582 (is_strict(language_mode()) || mode == ForEachStatement::ITERATE || in ParseForStatement()
3585 if (mode == ForEachStatement::ITERATE) { in ParseForStatement()
3635 ForEachStatement* loop = in ParseForStatement()
3726 ForEachStatement::VisitMode mode; in ParseForStatement()
3752 ForEachStatement* loop = in ParseForStatement()
Dparser-base.h448 bool CheckInOrOf(ForEachStatement::VisitMode* visit_mode, bool* ok) { in CheckInOrOf()
454 *visit_mode = ForEachStatement::ENUMERATE; in CheckInOrOf()
458 *visit_mode = ForEachStatement::ITERATE; in CheckInOrOf()
Dparser.h909 void InitializeForEachStatement(ForEachStatement* stmt, Expression* each,