While constructor

While(
  1. String condition, {
  2. List<IExpression>? statements,
})

Example

While('i < 5',statements: [ RawCode('print(i);'), Assign('i', 'i + 1')])

Output: while (i < 5) { print(i); i = i + 1; }

Implementation

While(this.condition, {this.statements});