slang::ast::InstanceArraySymbol class final

Represents an array of instances.

Base classes

class Symbol
Base class for all symbols (logical code constructs) such as modules, types, functions, variables, etc.
class Scope
Base class for symbols that represent a name scope; that is, they contain children and can participate in name lookup.

Public functions

std::string_view getArrayName() const
If this array is part of a multidimensional array, walk upward to find the root array's name.

Function documentation

std::string_view slang::ast::InstanceArraySymbol::getArrayName() const

If this array is part of a multidimensional array, walk upward to find the root array's name.

Otherwise returns the name of this symbol itself.