Fan

 

class

compiler::TernaryExpr

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

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

Slots

conditionSource

Expr condition

falseExprSource

Expr falseExpr

makeSource

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

toStrSource

override Str toStr()

Overrides compiler::Expr.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

trueExprSource

Expr trueExpr

walkChildrenSource

override Void walkChildren(Visitor v)