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.






checkLabel(gs) Check for skipped variable declarations.
makeTupleForeach(sc, isStatic, isDecl, fs, dbody, needExpansion) Type check and unroll foreach over an expression tuple as well as static foreach statements and static foreach declarations. For static foreach statements and `static foreach` declarations, the visitor interface is used (and the result is written into the result field.) For `static foreach` declarations, the resulting Dsymbols* are returned directly.
pragmaMsgSemantic(loc, sc, args) Evaluate and print a pragma(msg, args)
pragmaStartAddressSemantic(loc, sc, args) Evaluate pragma(startAddress, func) and store the resolved symbol in args
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.
throwSemantic(loc, exp, sc) Run semantic on throw <exp>.


Walter Bright


Boost License 1.0