Fantom

 

class

compiler::ThrowExpr

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::ThrowExpr

ThrowExpr models throw as an expr versus a statement for use inside ternary/elvis operations.

Slots

exceptionSource

Expr exception

makeSource

new make(Loc loc, Expr exception)

toStrSource

override Str toStr()

Overrides compiler::Expr.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

walkChildrenSource

override Void walkChildren(Visitor v)