StmtState

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

struct StmtState (
block
) {
StmtState* prev;
Statement statement;
Identifier ident;
block* breakBlock;
block* contBlock;
block* switchBlock;
block* defaultBlock;
block* finallyBlock;
block* tryBlock;
}

Parameters

block

type of the flow graph node

Meta