StmtState

Used to traverse the statement AST to transform it into a flow graph. Keeps track of things like "where does the break go".

Constructors

this
this(StmtState* prev, Statement statement)
Undocumented in source.

Members

Functions

getBreakBlock
block* getBreakBlock(Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
getContBlock
block* getContBlock(Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
getDefaultBlock
block* getDefaultBlock()
Undocumented in source. Be warned that the author may not have intended to support it.
getFinallyBlock
block* getFinallyBlock()
Undocumented in source. Be warned that the author may not have intended to support it.
getSwitchBlock
block* getSwitchBlock()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

breakBlock
block* breakBlock;
Undocumented in source.
contBlock
block* contBlock;
Undocumented in source.
defaultBlock
block* defaultBlock;
Undocumented in source.
finallyBlock
block* finallyBlock;
Undocumented in source.
ident
Identifier ident;
Undocumented in source.
prev
StmtState* prev;
Undocumented in source.
statement
Statement statement;
Undocumented in source.
switchBlock
block* switchBlock;
Undocumented in source.
tryBlock
block* tryBlock;
Undocumented in source.

Parameters

block

type of the flow graph node

Meta