class compiler::BinaryExpr

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::BinaryExpr

Source

BinaryExpr is used for binary expressions with a left hand side and a right hand side including assignment. Note that many common binary operations are actually modeled as ShortcutExpr to enable method based operator overloading.

assignTarget

virtual override Obj? assignTarget()

Source

isDefiniteAssign

virtual override Bool isDefiniteAssign(|Expr->Bool| f)

Source

isStmt

virtual override Bool isStmt()

Source

lhs

Expr lhs

Source

make

new make(Expr lhs, Token opToken, Expr rhs)

Source

makeAssign

new makeAssign(Expr lhs, Expr rhs, Bool leave := false)

Source

opToken

Token opToken

Source

rhs

Expr rhs

Source

serialize

virtual override Str serialize()

Source

tempVar

MethodVar? tempVar

Source

toStr

virtual override Str toStr()

Source

walkChildren

virtual override Void walkChildren(Visitor v)

Source