
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.
Slots
- isStmt
-
override Bool isStmt()
Does this expression make up a complete statement. If you override this to true, then you must make sure the expr is popped in CodeAsm.
- lhs
-
Expr lhs
- make
- makeAssign
- opToken
-
Token opToken
- rhs
-
Expr rhs
- serialize
-
override Str serialize()
Return this expression as serialization text or throw exception if not serializable.
- tempVar
-
MethodVar tempVar
- toStr
-
override Str toStr()
Return a string representation of this object.
- walkChildren