class compiler::UnaryExpr

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::UnaryExpr

Source

UnaryExpr is used for unary expressions including !, +. Note that - is mapped to negate() as a shortcut method.

make

new make(Loc loc, ExprId id, Token opToken, Expr operand)

Source

opToken

Token opToken

Source

operand

Expr operand

Source

toStr

virtual override Str toStr()

Source

walkChildren

virtual override Void walkChildren(Visitor v)

Source