logo
class

compiler::FieldDef

sys::Obj
  compiler::Node
    compiler::DefNode
      compiler::SlotDef
        compiler::FieldDef

Mixin: compiler::CField

FieldDef models a field definition

Slots

concreteBase

CField concreteBase

field

Field field

fieldType

virtual CType fieldType

get

MethodDef get

getter

virtual CMethod getter()

hasGet

Bool hasGet()

hasSet

Bool hasSet()

inheritedRet

CType inheritedRet

inheritedReturnType

virtual CType inheritedReturnType()

init

Expr init

make

new make(Location location, TypeDef parent)

makeAccessorExpr

FieldExpr makeAccessorExpr(Location loc, Bool useAccessor)

print

virtual Void print(AstWriter out)

set

MethodDef set

setter

virtual CMethod setter()

signature

virtual Str signature()

toStr

virtual Str toStr()

walk

virtual Void walk(Visitor v, VisitDepth depth)