slang::ast::NetType class

Base class for all net types in SystemVerilog.

There is a parallel type system for nets that exists independently from the data type system. Most nets will be one of the built in types, but user defined net types can exist too.

Base classes

class Symbol
Base class for all symbols (logical code constructs) such as modules, types, functions, variables, etc.

Public functions

auto getDataType() const -> const Type&
Gets the data type for nets of this particular net type.
auto getResolutionFunction() const -> const SubroutineSymbol*
Gets the custom resolution function for this net type, if it has one.