dmd.statementsem
Does semantic analysis for statements.
Specification: Statements
License
Source: statementsem.d
Documentation: https://dlang.org/phobos/dmd_statementsem.html
-
Declaration
StatementscopeCode(Statementstatement, Scope*sc, out Statementsentry, out Statementsexception, out Statementsfinally);If
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.statementParameters
Statementstatementthe
statementScope*sccontext
Statementsentryset to code executed upon entry to the scope
Statementsexceptionset to code executed upon exit from the scope via exception
Statementsfinallyset to code executed in finally block
Return Value
code to be run in the finally clause
-
Declaration
templateTupleForeachArgs(bool isStatic, bool isDecl)Determines additional argument types for makeTupleForeach.
-
Declaration
templateTupleForeachRet(bool isStatic, bool isDecl)Determines the return type of makeTupleForeach.
-
Declaration
TupleForeachRet!(isStatic, isDecl)makeTupleForeach(bool isStatic, bool isDecl)(Scope*sc, ForeachStatementfs, TupleForeachArgs!(isStatic, isDecl)args);See StatementSemanticVisitor.
makeTupleForeach. This is a simple wrapper that returns the generated statements/declarations.