dmd.typinf

Generate TypeInfo objects, which are needed for run-time introspection of types.

Members

Functions

genTypeInfo
void genTypeInfo(Expression e, Loc loc, Type torig, Scope* sc, bool genObjCode)

Generates the TypeInfo object associated with torig if it hasn't already been generated

getTypeInfoType
Type getTypeInfoType(Loc loc, Type t, Scope* sc, bool genObjCode)

Gets the type of the TypeInfo object associated with t

isSpeculativeType
bool isSpeculativeType(Type t)

Meta