Fantom

 

class compiler::TernaryExpr

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::TernaryExpr

Source

TernaryExpr is used for the ternary expression <cond> ? <true> : <false>

condition

Expr condition

Source

falseExpr

Expr falseExpr

Source

make

new make(Expr condition, Expr trueExpr, Expr falseExpr)

Source

toStr

virtual override Str toStr()

Source

trueExpr

Expr trueExpr

Source

walkChildren

virtual override Void walkChildren(Visitor v)

Source