dmd.dinterpret

The entry point for CTFE.

Specification: ($LINK2 https://dlang.org/spec/function.html#interpretation, Compile Time Function Execution (CTFE))

Members

Functions

ctfeEmplaceExp
T ctfeEmplaceExp(Args args)

Allocate an Expression in the ctfe region.

ctfeInterpret
Expression ctfeInterpret(Expression e)

Entry point for CTFE. A compile-time result is required. Give an error if not possible.

incArrayAllocs
void incArrayAllocs()
isRuntimeHook
CallExp isRuntimeHook(Expression e, Identifier id)

Checks if the given expresion is a call to the runtime hook id.

Meta