
Block is a list of zero or more Stmts
Slots
- add
-
Append a statement
- addAll
-
Append a list of statements
- isEmpty
-
Bool isEmpty()
Return is there are no statements
- isExit
-
Bool isExit()
Does this block always cause us to exit the method (does the last statement return true for Stmt.isExit)
- make
-
new make(Location location)
-
override Void print(AstWriter out)
Pretty print this node and it's descendants.
- printOpt
- size
-
Int size()
Return number of statements
- stmts
-
Stmt[] stmts
- walk
-
Void walk(Visitor v, VisitDepth depth)
- walkExpr