formatLabel static method

String formatLabel(
  1. 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)',
    };