SpecificationStatements
Sourcestatementsem.d
Documentationhttps://dlang.org/phobos/dmd_statementsem.html
statementSemantic(Statements, Scope*sc);Statements | statement to perform semantic analysis on |
Scope*sc | scope in which statement resides |
s after semantic analysis. Can benull, for example withpragma(msg, "")throwSemantic(Locloc, ref Expressionexp, Scope*sc);exp>.Locloc | location of thethrow |
Expressionexp | value to be thrown |
Scope*sc | enclosing scope |
scopeCode(Statementstatement, Scope*sc, out Statementsentry, out Statementsexception, out Statementsfinally);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.Statementstatement | the statement |
Scope*sc | context |
Statementsentry | set to code executed upon entry to the scope |
Statementsexception | set to code executed upon exit from the scope via exception |
Statementsfinally | set to code executed in finally block |
makeTupleForeach(Scope*sc, boolisStatic, boolisDecl, ForeachStatementfs, Dsymbols*dbody, boolneedExpansion);checkLabel(GotoStatementgs);GotoStatementgs | statement to check |