logo

class

compiler::ThisExpr

sys::Obj
  compiler::Node
    compiler::Expr
      compiler::LocalVarExpr
        compiler::ThisExpr

ThisExpr models the "this" keyword to access the implicit this local variable always stored in register zero.

Slots

isAssignable

override Bool isAssignable()

Return if this expression can be used as the left hand side of an assignment expression.

Source

make

new make(Location location, CType ctype := null)

Source

register

override Int register()

Source

toStr

override Str toStr()

Return a string representation of this object.

Source