Fan

 

class

compiler::UnaryExpr

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

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

Slots

makeSource

new make(Location location, ExprId id, Token opToken, Expr operand)

opTokenSource

Token opToken

operandSource

Expr operand

toStrSource

override Str toStr()

Overrides compiler::Expr.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

walkChildrenSource

override Void walkChildren(Visitor v)