Block is a list of zero or more Stmts
Slots
- addSource
-
Append a statement
- addAllSource
-
Append a list of statements
- isDefiniteAssignSource
-
Bool isDefiniteAssign(|Expr -> Bool| f)
Return if any of the statements perform definite assignment.
- isEmptySource
-
Bool isEmpty()
Return is there are no statements
- isExitSource
-
Bool isExit()
Does this block always cause us to exit the method (does the last statement return true for Stmt.isExit)
- makeSource
-
new make(Location location)
- printSource
-
override Void print(AstWriter out)
Overrides compiler::Node.print
Doc inherited from compiler::Node.print
Pretty print this node and it's descendants.
- printOptSource
- sizeSource
-
Int size()
Return number of statements
- stmtsSource
-
Stmt[] stmts
- walkSource
-
Void walk(Visitor v, VisitDepth depth)
- walkExprSource