LabelStatement

extern (C++) final
class LabelStatement : Statement {
Identifier ident;
Statement statement;
TryFinallyStatement tf;
OnScopeStatement os;
VarDeclaration lastVar;
Statement gotoTarget;
bool breaks;
}

Inherited Members

From Statement

scopeCode
Statement scopeCode(Scope* sc, Statement* sentry, Statement* sexception, Statement* sfinally)

If this statement has code that needs to run in a finally clause at the end of the current scope, return that code in the form of a Statement. Output: *sentry code executed upon entry to the scope *sexception code executed upon exit from the scope via exception *sfinally code executed in finally block

flatten
Statements* flatten(Scope* sc)

Flatten out the scope by presenting the statement as an array of statements. Returns NULL if no flattening necessary.

Meta