slang::FieldSymbol class

Represents a field member of a struct or union.


Base classes

class VariableSymbol
Represents a variable declaration.

Public variables

uint32_t offset
RandMode randMode
If this field was marked with random qualifier, the mode indicated by that qualifier.

Variable documentation

uint32_t slang::FieldSymbol::offset

The offset of the field within its parent structure or union. If the parent type is packed, this is an offset in bits. Otherwise it's an index into the list of fields.