logo

class

compiler::TernaryExpr

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

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

Slots

condition

Expr condition

falseExpr

Expr falseExpr

make

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

toStr

override Str toStr()

trueExpr

Expr trueExpr

walkChildren

override Void walkChildren(Visitor v)