UnionDeclaration

Unions are a variation on structs.

Constructors

this
this(Loc loc, Identifier id)
Undocumented in source.

Members

Functions

accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
isUnionDeclaration
inout(UnionDeclaration) isUnionDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
kind
const(char)* kind()
Undocumented in source. Be warned that the author may not have intended to support it.
syntaxCopy
Dsymbol syntaxCopy(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From StructDeclaration

zeroInit
bool zeroInit;
Undocumented in source.
hasIdentityAssign
bool hasIdentityAssign;
Undocumented in source.
hasBlitAssign
bool hasBlitAssign;
Undocumented in source.
hasIdentityEquals
bool hasIdentityEquals;
Undocumented in source.
hasNoFields
bool hasNoFields;
Undocumented in source.
hasCopyCtor
bool hasCopyCtor;
Undocumented in source.
requestTypeInfo
bool requestTypeInfo;
Undocumented in source.
postblits
FuncDeclarations postblits;
Undocumented in source.
postblit
FuncDeclaration postblit;
Undocumented in source.
xeq
FuncDeclaration xeq;
Undocumented in source.
xcmp
FuncDeclaration xcmp;
Undocumented in source.
xhash
FuncDeclaration xhash;
Undocumented in source.
xerreq
FuncDeclaration xerreq;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
xerrcmp
FuncDeclaration xerrcmp;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
alignment
structalign_t alignment;
Undocumented in source.
ispod
StructPOD ispod;
Undocumented in source.
argTypes
TypeTuple argTypes;
Undocumented in source.
create
StructDeclaration create(Loc loc, Identifier id, bool inObject)
Undocumented in source. Be warned that the author may not have intended to support it.
syntaxCopy
Dsymbol syntaxCopy(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
semanticTypeInfoMembers
void semanticTypeInfoMembers()
Undocumented in source. Be warned that the author may not have intended to support it.
search
Dsymbol search(Loc loc, Identifier ident, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
kind
const(char)* kind()
Undocumented in source. Be warned that the author may not have intended to support it.
finalizeSize
void finalizeSize()
Undocumented in source. Be warned that the author may not have intended to support it.
fit
bool fit(Loc loc, Scope* sc, Expressions* elements, Type stype)

Fit elements[] to the corresponding types of the struct's fields.

isPOD
bool isPOD()

Determine if struct is POD (Plain Old Data).

isStructDeclaration
inout(StructDeclaration) isStructDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
numArgTypes
uint numArgTypes()
Undocumented in source. Be warned that the author may not have intended to support it.
argType
Type argType(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
hasNonDisabledCtor
bool hasNonDisabledCtor()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta