Fan

 

class

compiler::FieldDef

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

FieldDef models a field definition

Slots

concreteBaseSource

CField? concreteBase

docMetaSource

override [Str:Str]? docMeta()

Overrides compiler::SlotDef.docMeta

fieldSource

Field? field

fieldTypeSource

override CType fieldType

Overrides compiler::CField.fieldType

getSource

MethodDef? get

getterSource

override CMethod? getter()

Overrides compiler::CField.getter

hasGetSource

Bool hasGet()

hasSetSource

Bool hasSet()

inheritedRetSource

CType? inheritedRet

inheritedReturnTypeSource

override CType inheritedReturnType()

Overrides compiler::CField.inheritedReturnType

initSource

Expr? init

initDocSource

Expr? initDoc

makeSource

new make(Location location, TypeDef parent)

makeAccessorExprSource

FieldExpr makeAccessorExpr(Location loc, Bool useAccessor)

printSource

override Void print(AstWriter out)

Overrides compiler::Node.print

Doc inherited from compiler::Node.print

Pretty print this node and it's descendants.

setSource

MethodDef? set

setterSource

override CMethod? setter()

Overrides compiler::CField.setter

signatureSource

override Str signature()

Overrides compiler::CSlot.signature

toStrSource

override Str toStr()

Overrides sys::Obj.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

walkSource

override Void walk(Visitor v, VisitDepth depth)

Overrides compiler::SlotDef.walk