Fan

 

class

compiler::LocalVarExpr

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

LocalVarExpr is used to access a local variable stored in a register.

Slots

assignRequiresTempVarSource

override Bool assignRequiresTempVar()

Assignments to instance fields require a temporary local variable.

isAssignableSource

override Bool isAssignable()

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

makeSource

new make(Location location, MethodVar? var, ExprId id := ExprId.localVar)

noRemapToCvarsSource

Bool noRemapToCvars := false

registerSource

virtual Int register()

toStrSource

override Str toStr()

Overrides compiler::Expr.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

varSource

MethodVar? var