
WithBlockExpr is used enclose a series of sub-expressions against a base expression:
base { a = b; c() }
Translates to:
temp := base temp.a = b temp.c()
Slots
- base
-
Expr base
- isCtorWithBlock
-
Bool isCtorWithBlock()
- 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.
- make
-
new make(Expr base)
- serialize
-
override Str serialize()
Return this expression as serialization text or throw exception if not serializable.
- subs
-
WithSubExpr[] subs
- toStr
-
override Str toStr()
Return a string representation of this object.
- walkChildren