Fan

 

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()

Overrides compiler::LocalVarExpr.isAssignable

Doc inherited from compiler::Expr.isAssignable

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

makeSource

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

registerSource

override Int register()

Overrides compiler::LocalVarExpr.register

toStrSource

override Str toStr()

Overrides compiler::LocalVarExpr.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.