ForStatementImpl constructor
ForStatementImpl({
- required Token? awaitKeyword,
- required Token forKeyword,
- required Token leftParenthesis,
- required ForLoopPartsImpl forLoopParts,
- required Token rightParenthesis,
- required StatementImpl body,
Initialize a newly created for statement.
Implementation
ForStatementImpl({
required this.awaitKeyword,
required this.forKeyword,
required this.leftParenthesis,
required ForLoopPartsImpl forLoopParts,
required this.rightParenthesis,
required StatementImpl body,
}) : _forLoopParts = forLoopParts,
_body = body {
_becomeParentOf(_forLoopParts);
_becomeParentOf(_body);
}