gotoSourceShortName function

String gotoSourceShortName(
  1. RohdSourceFormat format
)

Short, menu-friendly name for format (e.g. 'ROHD', 'SV').

Implementation

String gotoSourceShortName(RohdSourceFormat format) => switch (format) {
      RohdSourceFormat.rohd => 'ROHD',
      RohdSourceFormat.sv => 'SV',
      RohdSourceFormat.sc => 'SystemC',
      RohdSourceFormat.fst => 'Waveform',
    };