initializerToExpression

Translate init to an Expression.

extern (C++)
initializerToExpression

Parameters

init

Initializer AST node

itype
Type: Type

if not null, type to coerce expression to

Return Value

Expression created, null if cannot, ErrorExp for other errors

Meta