slang::ast::TypeReferenceExpression class

An expression that gets the type of a nested expression using the type() operator.

The result is only allowed in a few places in the grammar, namely in comparisons with other type reference expressions.

Base classes

class Expression
The base class for all expressions in SystemVerilog.

Public variables

const Type& targetType
The target type of the type reference.