intermediateOccurrenceNames property

List<String> get intermediateOccurrenceNames

Occurrence names that need to be expanded to reveal this signal.

These are the intermediate path segments between the top occurrence and the signal name — i.e. everything except the first (top occurrence) and last (signal name) segments.

For Top/sub1/sub2/clk this returns ["sub1", "sub2"].

Implementation

List<String> get intermediateOccurrenceNames =>
    path.length > 2 ? path.sublist(1, path.length - 1) : const <String>[];