slang::ast::OpaqueInstancePath::Entry class

An entry in the path.

Each entry is either a syntax node that points to a piece of syntax that defines the hierarchy entry, or an integer that indicates an element of an instance or generate array.

Constructors, destructors, conversion operators

Entry()
Constructs an empty entry.
Entry(uint32_t index)
Construct an entry that that indicates an element of an instance or generate array.
Entry(const syntax::SyntaxNode& syntax)
Constructs an entry that points to a piece of syntax that defines a hierarchy node.

Public functions

auto getOpaqueValue() const -> uintptr_t
Gets an opaque value that represents the entry; either the array index or the syntax node pointer.
auto operator<=>(const Entry& rhs) const -> auto defaulted
Default comparison operator.