initializerToExpression

Translate init to an Expression.

extern (C++)
initializerToExpression

Parameters

init Initializer

Initializer AST node

itype Type

if not null, type to coerce expression to

Return Value

Expression created, null if cannot, ErrorExp for other errors

Meta