logo

class

compiler::LocalVarExpr

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

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

Slots

assignRequiresTempVar

override Bool assignRequiresTempVar()

Assignments to instance fields require a temporary local variable.

Source

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, MethodVar var, ExprId id := ExprId.localVar)

Source

noRemapToCvars

Bool noRemapToCvars := false

Source

register

virtual Int register()

Source

toStr

override Str toStr()

Return a string representation of this object.

Source

var

MethodVar var

Source