W3cubDocs

/D

dmd.constfold

Compiler implementation of the D programming language.

Authors:
Walter Bright
License:
Boost License 1.0
Source
constfold.d
Documentation
https://dlang.org/phobos/dmd_constfold.html
Coverage
https://codecov.io/gh/dlang/dmd/src/master/src/dmd/constfold.d
int isConst(Expression e);
Returns:
true if e is a constant
void cantExp(out UnionExp ue);

Initialize a TOK.cantExpression Expression.

Parameters:
UnionExp ue where to write it

© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/dmd_constfold.html