Fantom

 

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

isAssignableSource

override Bool isAssignable()

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

makeSource

new make(Loc loc, CType? ctype := null)

registerSource

override Int register()

toStrSource

override Str toStr()

Overrides compiler::LocalVarExpr.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.