logo

class

compiler::ReturnStmt

sys::Obj
  compiler::Node
    compiler::Stmt
      compiler::ReturnStmt

ReturnStmt returns from the method

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

leaveVar

MethodVar leaveVar

Source

make

new make(Location location, Expr expr := null)

Source

print

override Void print(AstWriter out)

Pretty print this node and it's descendants.

Source

walkChildren

override Void walkChildren(Visitor v, VisitDepth depth)

Source