const class compilerDoc::DocType
sys::Obj compilerDoc::Doc compilerDoc::DocType
DocType models the documentation of a Type.
- base
-
const DocTypeRef[] baseBase class inheritance chain where direct subclass is first and
sys::Objis last. If this type is a mixin or this issys::Objitself then this is an empty list. - doc
-
const DocFandoc docFandoc documentation string
- docName
-
virtual override Str docName()The document name under space is
name - facet
-
DocFacet? facet(Str qname, Bool checked := true)Return given facet
- facets
-
const DocFacet[] facetsFacets defined on this type
- flags
-
const Int flagsFlags mask - see
DocFlags - hasFacet
-
Return if given facet is defined on type
- isCode
-
virtual override Bool isCode()Return true
- isEnum
-
Bool isEnum()Is an enum type
- isErr
-
const Bool isErrIs this a subclass of
sys::Err - isFacet
-
Bool isFacet()Is an facet type
- isMixin
-
Bool isMixin()Is an mixin type
- isNoDoc
-
const Bool isNoDocReturn true if annotated as NoDoc
- loc
-
const DocLoc locSource code location of this type definition
- mixins
-
const DocTypeRef[] mixinsMixins directly implemented by this type
- name
-
Str name()Simple name of the type such as "Str".
- onCrawl
-
virtual override Void onCrawl(DocCrawler crawler)Index the type summary and all slot docs
- pod
-
const DocPod podPod which defines this type
- qname
-
Str qname()Qualified name formatted as "pod::name".
- ref
-
const DocTypeRef refRepresentation of this type definition as a reference
- renderer
-
virtual override Type renderer()Default renderer is
DocTypeRenderer - slot
-
DocSlot? slot(Str name, Bool checked := true)Get slot by name. If not found return null or raise UknownSlotErr
- slots
-
const DocSlot[] slotsList of the public, documented slots in this type (sorted).
- space
-
virtual override DocSpace space()The space for this doc is
pod - title
-
virtual override Str title()Title of the document is the qualified name
- toStr
-
virtual override Str toStr()return qname