HierarchySearchResult class abstract

Base class for hierarchy search results.

Holds the common fields shared by signal and occurrence search results: a canonical ID string, pre-split path segments, and display helpers that strip the top-level module name.

Annotations

Constructors

HierarchySearchResult({required String id, required List<String> path})
Creates a hierarchy search result.
const

Properties

displayPath String
Display path with the top-level module name stripped.
no setter
displaySegments List<String>
Path segments with the top-level module name stripped.
no setter
hashCode int
The hash code for this object.
no setteroverride
id String
The full hierarchical path that was found. Example: "Top/counter/clk" or "Top/CPU/ALU".
final
name String
The leaf name (last path segment).
no setter
path List<String>
The hierarchical path segments. Example: ["Top", "counter", "clk"].
final
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.
inherited

Operators

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

Static Methods

normalizeQuery(String query) String
Normalize a user query for hierarchy search.