copy method
Create a deep copy of the Statement.
Implementation
@override
WhileLoopStatement copy() {
return WhileLoopStatement.init(
isDoWhile,
condition.copy(),
List.from(bodyStatements.map((e) => e.copy())),
);
}
Create a deep copy of the Statement.
@override
WhileLoopStatement copy() {
return WhileLoopStatement.init(
isDoWhile,
condition.copy(),
List.from(bodyStatements.map((e) => e.copy())),
);
}