ddmd.statement

Compiler implementation of the D programming language.

Members

Classes

AsmStatement
class AsmStatement
BreakStatement
class BreakStatement
CaseRangeStatement
class CaseRangeStatement
CaseStatement
class CaseStatement
Catch
class Catch
CompileStatement
class CompileStatement
CompoundAsmStatement
class CompoundAsmStatement

a complete asm {} block

CompoundDeclarationStatement
class CompoundDeclarationStatement
CompoundStatement
class CompoundStatement
ConditionalStatement
class ConditionalStatement
ContinueStatement
class ContinueStatement
DebugStatement
class DebugStatement
DefaultStatement
class DefaultStatement
DoStatement
class DoStatement
DtorExpStatement
class DtorExpStatement
ErrorStatement
class ErrorStatement

Any Statement that fails semantic() or has a component that is an ErrorExp or a TypeError should return an ErrorStatement from semantic().

ExpStatement
class ExpStatement
ForStatement
class ForStatement
ForeachRangeStatement
class ForeachRangeStatement
ForeachStatement
class ForeachStatement
GotoCaseStatement
class GotoCaseStatement
GotoDefaultStatement
class GotoDefaultStatement
GotoStatement
class GotoStatement
IfStatement
class IfStatement
ImportStatement
class ImportStatement
LabelDsymbol
class LabelDsymbol
LabelStatement
class LabelStatement
OnScopeStatement
class OnScopeStatement
PeelStatement
class PeelStatement
PragmaStatement
class PragmaStatement
ReturnStatement
class ReturnStatement
ScopeStatement
class ScopeStatement
Statement
class Statement
StaticAssertStatement
class StaticAssertStatement
SwitchErrorStatement
class SwitchErrorStatement
SwitchStatement
class SwitchStatement
SynchronizedStatement
class SynchronizedStatement
ThrowStatement
class ThrowStatement
TryCatchStatement
class TryCatchStatement
TryFinallyStatement
class TryFinallyStatement
UnrolledLoopStatement
class 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
class WhileStatement
WithStatement
class WithStatement

Functions

checkAssignmentAsCondition
Expression checkAssignmentAsCondition(Expression e)

Check an assignment is used as a condition. Intended to be use before the semantic call on e.

getThrowable
TypeIdentifier getThrowable()

Return a type identifier reference to 'object.Throwable'

toStatement
Statement toStatement(Dsymbol s)

Convert TemplateMixin members (== Dsymbols) to Statements.

Meta

Source

See Source File
$(DMDSRC _statement.d)