View source code
Display the source code in dmd/statement.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.statement

Compiler implementation of the D programming language.

Documentation

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

Coverage

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

Functions

NameDescription
getThrowable()
toStatement(s) Convert TemplateMixin members (== Dsymbols) to Statements.

Classes

NameDescription
AsmStatement
BreakStatement
CaseRangeStatement
CaseStatement
Catch
CompileStatement
CompoundAsmStatement a complete asm {} block
CompoundDeclarationStatement
CompoundStatement
ConditionalStatement
ContinueStatement
DebugStatement
DefaultStatement
DoStatement
DtorExpStatement
ErrorStatement Any Statement that fails semantic() or has a component that is an ErrorExp or a TypeError should return an ErrorStatement from semantic().
ExpStatement
ForeachRangeStatement
ForeachStatement
ForStatement
ForwardingStatement Statement whose symbol table contains foreach index variables in a local scope and forwards other members to the parent scope. This wraps a statement.
GccAsmStatement
GotoCaseStatement
GotoDefaultStatement
GotoStatement
IfStatement
ImportStatement
InlineAsmStatement
LabelDsymbol
LabelStatement
OnScopeStatement
PeelStatement
PragmaStatement
ReturnStatement
ScopeStatement
Statement
StaticAssertStatement
StaticForeachStatement Static foreach statements, like: void main() { static foreach(i; 0 .. 10) { pragma(msg, i); } }
SwitchErrorStatement
SwitchStatement
SynchronizedStatement
ThrowStatement
TryCatchStatement
TryFinallyStatement
UnrolledLoopStatement The purpose of this is so that continue will go to the next of the statements, and break will go to the end of the statements.
WhileStatement
WithStatement

Authors

Walter Bright

License

Boost License 1.0