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
getException()
getThrowable()

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
PeelStatement
PragmaStatement
ReturnStatement
ScopeGuardStatement
ScopeStatement
Statement
StaticAssertStatement
StaticForeachStatement
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

Enums

NameDescription
STMT Identify Statement types with this enum rather than virtual functions.

Authors

Walter Bright

License

Boost License 1.0