interpret method
Implementation
@override
String interpret(EditorContext context) {
var buffer = StringBuffer();
buffer.write(context.indent());
buffer.write('abstract class $name');
/// [extends] $baseClass
if (baseClass != null) {
buffer.write(' extends $baseClass');
}
buffer.writeln(context.openScope(Scope.INTERFACE));
if (prototypes != null) {
prototypes!.forEach((element) {
buffer.write(element.interpret(context));
});
}
buffer.write(context.closeScope());
return buffer.toString();
}