logo

class

compiler::WithSubExpr

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::WithSubExpr

WithSubExpr wraps each sub-expr within a with-block.

Slots

add

CMethod add

Source

expr

Expr expr

Source

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.

Source

make

new make(WithBlockExpr withBlock, Expr expr)

Source

serialize

override Str serialize()

Return this expression as serialization text or throw exception if not serializable.

Source

toStr

override Str toStr()

Return a string representation of this object.

Source

walkChildren

override Void walkChildren(Visitor v)

Source

withBlock

WithBlockExpr withBlock

Source