View source code
Display the source code in dmd/statementsem.d from which this page was generated on github.
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 local clone.

Module dmd.statementsem

Does semantic analysis for statements.

Specification

Statements

Documentation

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

Coverage

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

Functions

NameDescription
makeTupleForeach(sc, fs, args) See StatementSemanticVisitor.makeTupleForeach. This is a simple wrapper that returns the generated statements/declarations.
scopeCode(statement, sc, sentry, sexception, sfinally) If statement has code that needs to run in a finally clause at the end of the current scope, return that code in the form of a Statement.

Aliases

NameTypeDescription
TupleForeachArgs T Determines additional argument types for makeTupleForeach.
TupleForeachRet Statement Determines the return type of makeTupleForeach.

Authors

Walter Bright

License

Boost License 1.0