Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

dmd.statementsem

Compiler implementation of the D programming language.
Authors:

Documentation:

https: //dlang.org/phobos/dmd_statementsem.html

Coverage:

https: //codecov.io/gh/dlang/dmd/src/master/src/dmd/statementsem.d

template TupleForeachArgs(bool isStatic, bool isDecl)
Determines additional argument types for makeTupleForeach.
template TupleForeachRet(bool isStatic, bool isDecl)
Determines the return type of makeTupleForeach.
TupleForeachRet!(isStatic, isDecl) makeTupleForeach(bool isStatic, bool isDecl)(Scope* sc, ForeachStatement fs, TupleForeachArgs!(isStatic, isDecl) args);
See StatementSemanticVisitor.makeTupleForeach. This is a simple wrapper that returns the generated statements/declarations.