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()

fieldSource

Field? field

fieldTypeSource

override CType fieldType

getSource

MethodDef? get

getterSource

override CMethod? getter()

hasGetSource

Bool hasGet()

hasSetSource

Bool hasSet()

inheritedRetSource

CType? inheritedRet

inheritedReturnTypeSource

override CType inheritedReturnType()

initSource

Expr? init

initDocSource

Expr? initDoc

makeSource

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

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()

signatureSource

override Str signature()

walkSource

override Void walk(Visitor v, VisitDepth depth)