class compiler::FieldDef

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

Source

FieldDef models a field definition

closureInfo

Str? closureInfo

Source

concreteBase

CField? concreteBase

Source

enumDef

EnumDef? enumDef

Source

field

Field? field

Source

fieldType

virtual override CType fieldType

Source

get

MethodDef? get

Source

getter

virtual override CMethod? getter()

Source

hasGet

Bool hasGet()

Source

hasSet

Bool hasSet()

Source

inheritedRet

CType? inheritedRet

Source

inheritedReturnType

virtual override CType inheritedReturnType()

Source

init

Expr? init

Source

make

new make(Loc loc, TypeDef parent, Str name := "?", Int flags := 0)

Source

makeAccessorExpr

FieldExpr makeAccessorExpr(Loc loc, Bool useAccessor)

Source

print

virtual override Void print(AstWriter out)

Source

requiresNullCheck

Bool requiresNullCheck

Source

set

MethodDef? set

Source

setter

virtual override CMethod? setter()

Source

signature

virtual override Str signature()

Source

walk

virtual override Void walk(Visitor v, VisitDepth depth)

Source

walkInit

Bool walkInit := true

Source