logo

class

compiler::ExprStmt

sys::Obj
  compiler::Node
    compiler::Stmt
      compiler::ExprStmt

ExprStmt is a statement with a stand along expression such as an assignment or method call.

Slots

expr

Expr expr

Source

isExit

override Bool 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)

Source

make

new make(Expr expr)

Source

print

override Void print(AstWriter out)

Pretty print this node and it's descendants.

Source

printOpt

Void printOpt(AstWriter out, Bool nl := true)

Source

walkChildren

override Void walkChildren(Visitor v, VisitDepth depth)

Source