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

Compiler implementation of the D programming language.

Functions

Name Description
checkAssignmentAsCondition Check an assignment is used as a condition. Intended to be use before the semantic call on e.
getThrowable Return a type identifier reference to 'object.Throwable'
toStatement Convert TemplateMixin members (== Dsymbols) to Statements.

Classes

Name Description
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.
GotoCaseStatement
GotoDefaultStatement
GotoStatement
IfStatement
ImportStatement
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

Comments