ForeachStmt

class ForeachStmt : Statement {
TOK tok;
Parameters params;
Expression aggregate;
Statement forBody;
}

Members

Functions

hasRange
bool hasRange()

Returns true if the aggregate is a RangeExpr.

isReverse
bool isReverse()

Returns true if this is a foreach_reverse statement.

Meta