OccurrenceSearchResult class

Result of an occurrence search with enriched metadata.

Contains the occurrence's full path, parsed path segments, and the full HierarchyOccurrence object. This mirrors SignalSearchResult for occurrences and provides a consistent search results interface.

Inheritance
Annotations

Constructors

OccurrenceSearchResult({required String occurrenceId, required List<String> path, required HierarchyOccurrence occurrence})
Creates an occurrence search result.
const

Properties

childCount int
Number of direct child occurrences.
no setter
displayPath String
Display path with the top-level module name stripped.
no setterinherited
displaySegments List<String>
Path segments with the top-level module name stripped.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The full hierarchical path that was found. Example: "Top/counter/clk" or "Top/CPU/ALU".
finalinherited
isModule bool
Whether this occurrence has sub-hierarchy (i.e. is not a primitive leaf).
no setter
name String
The leaf name (last path segment).
no setterinherited
occurrence HierarchyOccurrence
The underlying HierarchyOccurrence from the hierarchy service. Contains the occurrence's name, type, children, and signals.
final
occurrenceId String
Alias for id — the occurrence's full hierarchical path.
no setter
path List<String>
The hierarchical path segments. Example: ["Top", "counter", "clk"].
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited