ddmd.statement

Compiler implementation of the D programming language.

Members

Aliases

BEany
alias BEany = BE.BEany
Undocumented in source.
BEbreak
alias BEbreak = BE.BEbreak
Undocumented in source.
BEcontinue
alias BEcontinue = BE.BEcontinue
Undocumented in source.
BEerrthrow
alias BEerrthrow = BE.BEerrthrow
Undocumented in source.
BEfallthru
alias BEfallthru = BE.BEfallthru
Undocumented in source.
BEgoto
alias BEgoto = BE.BEgoto
Undocumented in source.
BEhalt
alias BEhalt = BE.BEhalt
Undocumented in source.
BEnone
alias BEnone = BE.BEnone
Undocumented in source.
BEreturn
alias BEreturn = BE.BEreturn
Undocumented in source.
BEthrow
alias BEthrow = BE.BEthrow
Undocumented in source.

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

Enums

BE
enum BE
Undocumented in source.

Functions

checkAssignmentAsCondition
Expression checkAssignmentAsCondition(Expression e)

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

checkLabeledLoop
LabelStatement checkLabeledLoop(Scope* sc, Statement statement)
Undocumented in source. Be warned that the author may not have intended to support it.
fixupLabelName
Identifier fixupLabelName(Scope* sc, Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
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)