visitForLoopStmt method
Implementation
@override
GzBaseNode visitForLoopStmt(ForLoopStmt forLoopStmt) {
final ctrl = forLoopStmt.exprList.map((e) => e.accept(this)).toList();
final body = forLoopStmt.body.map((e) => e.accept(this)).toList();
return node(
'for',
color: 'yellow',
shape: 'diamond',
children: [
node('ctrl', children: ctrl),
node('do', children: body),
],
);
}