dmd.initsem

Semantic analysis of initializers.

Members

Functions

inferType
Initializer inferType(Initializer init, Scope* sc)

Translate init to an Expression in order to infer the type.

initializerSemantic
Initializer initializerSemantic(Initializer init, Scope* sc, Type t, NeedInterpret needInterpret)

Perform semantic analysis on init.

initializerToExpression
Expression initializerToExpression(Initializer init, Type itype)

Translate init to an Expression.

toAssocArrayLiteral
Expression toAssocArrayLiteral(ArrayInitializer ai)

If possible, convert array initializer to associative array initializer.

Meta

Suggestion Box / Bug Report