Fantom

 

class

compiler::MethodVar

sys::Obj
  compiler::MethodVar

MethodVar is a variable used in a method - either param or local.

Slots

ctypeSource

CType ctype

flagsSource

Int flags

isCatchVarSource

Bool isCatchVar

isParamSource

Bool isParam()

isReassignedSource

readonly Bool isReassigned

isWrappedSource

Bool isWrapped()

makeSource

new make(MethodDef method, Int register, CType ctype, Str name, Int flags := 0, Block? scope := null)

makeForParamSource

new makeForParam(MethodDef method, Int register, ParamDef p, CType paramType)

methodSource

MethodDef method

nameSource

Str name

paramDefSource

ParamDef? paramDef

paramWrapperSource

MethodVar? paramWrapper

reassignedSource

Void reassigned()

registerSource

Int register

scopeSource

Block? scope

shadowsSource

MethodVar? shadows

toStrSource

override Str toStr()

Overrides sys::Obj.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

usedInClosureSource

Bool usedInClosure

wrapFieldSource

CField? wrapField