formatLabel static method
- RohdSourceFormat fmt
Human-readable label for a format.
Implementation
static String formatLabel(RohdSourceFormat fmt) => switch (fmt) {
RohdSourceFormat.rohd => 'ROHD (Dart)',
RohdSourceFormat.sv => 'SystemVerilog',
RohdSourceFormat.sc => 'SystemC',
RohdSourceFormat.fst => 'Waveform (FST)',
};