# dmd.statementsem

Does semantic analysis for statements.

Specification: Statements

#### Authors

Walter Bright

#### License

Boost License 1.0

Source: statementsem.d

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

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

- `TupleForeachArgs`

  #### Declaration

  `template `TupleForeachArgs`(bool isStatic, bool isDecl)`

  Determines additional argument types for makeTupleForeach.

- `TupleForeachRet`

  #### Declaration

  `template `TupleForeachRet`(bool isStatic, bool isDecl)`

  Determines the return type of makeTupleForeach.

- `makeTupleForeach`

  #### Declaration

  `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.