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

Source

falseExpr

Expr falseExpr

Source

make

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

Source

toStr

override Str toStr()

Return a string representation of this object.

Source

trueExpr

Expr trueExpr

Source

walkChildren

override Void walkChildren(Visitor v)

Source