forStatement abstract method

ForStatement forStatement({
  1. Token? awaitKeyword,
  2. required Token forKeyword,
  3. required Token leftParenthesis,
  4. required ForLoopParts forLoopParts,
  5. required Token rightParenthesis,
  6. required Statement body,
})

Returns a newly created for statement.

Implementation

ForStatement forStatement(
    {Token? awaitKeyword,
    required Token forKeyword,
    required Token leftParenthesis,
    required ForLoopParts forLoopParts,
    required Token rightParenthesis,
    required Statement body});