generate method
Implementation
@override
Widget generate(Context context) {
if (context.version < 20) {
throw "Return requires at least version 20";
}
if (run != null) {
if (run case Comment(text: '')) return Command('return fail');
return Command(
'return run ${getCommands(run!.generate(context), context: context).first}',
);
}
return Command('return $val');
}