A variable.
<mrdocs/Metadata/Symbol/Variable.hpp>
struct VariableSymbol final
: SymbolCommonBase<SymbolKind::Variable>
| Name | Description |
|---|---|
SymbolCommonBase<SymbolKind::Variable> | Base class for providing variant discriminator functions. |
| Name | Description |
|---|---|
VariableSymbol [constructor] | Construct from SymbolID |
operator<=> | Three-way comparison operators |
| Name |
|---|
isConcept |
isEnum |
isEnumConstant |
isFunction |
isGuide |
isNamespace |
isNamespaceAlias |
isOverloads |
isRecord |
isTypedef |
isUsing |
isVariable |
| Name | Description |
|---|---|
Attributes | |
BitfieldWidth | The width of the bitfield |
HasNoUniqueAddress | |
Initializer | The default member initializer, if any. |
IsBitfield | Whether the field is a bitfield |
IsConstexpr | |
IsConstinit | |
IsDeprecated | |
IsInline | |
IsMaybeUnused | |
IsMutable | Whether the field is declared mutable |
IsRecordField | |
IsThreadLocal | |
IsVariant | Whether the field is a variant member |
StorageClass | |
Template | The template information, if any. |
Type | The type of the variable |
| Name |
|---|
kind_id |
| Name | Description |
|---|---|
merge | Merges two Symbol objects. |
This includes variables at namespace or record scope.