logo
abstract class

compiler::DefNode

sys::Obj
  compiler::Node
    compiler::DefNode

DefNode is the abstract base class for definition nodes such as TypeDef, MethodDef, and FieldDef. All definitions may be documented using a Javadoc style FanDoc comment.

Slots

addFacet

Void addFacet(CompilerSupport support, Str name, Obj value)

doc

Str[] doc

facets

Str:FacetDef facets

flags

Int flags

make

new make(Location location)

ns

abstract Namespace ns()

printFacets

Void printFacets(AstWriter out)

walkFacets

Void walkFacets(Visitor v, VisitDepth depth)