sun::types::EnumVariant

sun::types::EnumVariant

struct · Source (opens in a new tab)

struct sun::types::EnumVariant

Enum variant information.

Public Functions

hasPayload

public · function · Source (opens in a new tab)

bool sun::types::EnumVariant::hasPayload() const

Reports whether this object has payload.

Public Fields

declarationId

public · variable · Source (opens in a new tab)

DeclarationId sun::types::EnumVariant::declarationId

No documentation comment.

Related: DeclarationId

name

public · variable · Source (opens in a new tab)

std::string sun::types::EnumVariant::name

No documentation comment.

payloadTypes

public · variable · Source (opens in a new tab)

std::vector<TypePtr> sun::types::EnumVariant::payloadTypes

No documentation comment.

Related: TypePtr

value

public · variable · Source (opens in a new tab)

int64_t sun::types::EnumVariant::value

No documentation comment.