ExprStmt is a statement with a stand along expression such as an assignment or method call.
Slots
- exprSource
-
Expr expr
- isExitSource
-
override Bool isExit()
Overrides compiler::Stmt.isExit
Doc inherited from compiler::Stmt.isExit
Does this statement always cause us to exit the method (or does it cause us to loop forever without a break to the next statement)
- makeSource
-
new make(Expr expr)
- 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
- walkChildrenSource
-
override Void walkChildren(Visitor v, VisitDepth depth)
Overrides compiler::Stmt.walkChildren