SignalSearchResult class
Result of a signal search with enriched metadata.
Contains the signal's full path, parsed path segments, and the full SignalOccurrence object if available. This is the hierarchy-only portion of search results; UI layers can use the pre-computed display helpers directly without re-parsing paths.
- Inheritance
-
- Object
- HierarchySearchResult
- SignalSearchResult
- Annotations
Constructors
-
SignalSearchResult({required String signalId, required List<
String> path, SignalOccurrence? signal}) -
Creates a signal search result.
const
Properties
- 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 -
intermediateOccurrenceNames
→ List<
String> -
Occurrence names that need to be expanded to reveal this signal.
no setter
- name → String
-
The leaf name (last path segment).
no setterinherited
-
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
- signal → SignalOccurrence?
-
The underlying SignalOccurrence from the hierarchy service (if
available). Contains width, direction, and other signal metadata.
final
- signalId → String
-
Alias for id — the signal's full hierarchical path.
no setter
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