slang::BindContext::ClassRandomizeScope struct


A collection of information needed to bind names inside inline constraint blocks for class randomize function calls.

Public variables

const Scope* classType
The scope of the class type itself.
span<const string_view> nameRestrictions

Variable documentation

span<const string_view> slang::BindContext::ClassRandomizeScope::nameRestrictions

A list of names to which class-scoped lookups are restricted. If empty, the lookup is unrestricted and all names are first tried in class-scope.