GotoStatement

extern (C++) final
class GotoStatement : Statement {
Identifier ident;
LabelDsymbol label;
TryFinallyStatement tf;
ScopeGuardStatement os;
VarDeclaration lastVar;
}

Members

Variables

inCtfeBlock
bool inCtfeBlock;

set if goto is inside an if (__ctfe) block

tryBody
Statement tryBody;

set to TryCatchStatement or TryFinallyStatement if in _body portion

Inherited Members

From Statement

arraySyntaxCopy
Statements* arraySyntaxCopy(Statements* a)

Do syntax copy of an array of Statement's.

hasBreak
bool hasBreak()

Determine if an enclosed break would apply to this statement, such as if it is a loop or switch statement.

hasContinue
bool hasContinue()

Determine if an enclosed continue would apply to this statement, such as if it is a loop statement.

usesEH
bool usesEH()
comeFrom
bool comeFrom()
hasCode
bool hasCode()
last
inout(Statement) last()

Find last statement in a sequence of statements.

accept
void accept(Visitor v)

Support Visitor Pattern

endsWithReturnStatement
inout(ReturnStatement) endsWithReturnStatement()

Does this statement end with a return statement?

isErrorStatement
inout(ErrorStatement) isErrorStatement()

A cheaper method of doing downcasting of Statements.

Meta