const class compilerDoc::DocType
sys::Obj compilerDoc::Doc compilerDoc::DocType
DocType models the documentation of a Type
.
- base
-
const DocTypeRef[] base
Base class inheritance chain where direct subclass is first and
sys::Obj
is last. If this type is a mixin or this issys::Obj
itself then this is an empty list. - doc
-
const DocFandoc doc
Fandoc 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[] facets
Facets defined on this type
- flags
-
const Int flags
Flags 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 isErr
Is this a subclass of
sys::Err
- isFacet
-
Bool isFacet()
Is an facet type
- isMixin
-
Bool isMixin()
Is an mixin type
- isNoDoc
-
const Bool isNoDoc
Return true if annotated as NoDoc
- loc
-
const DocLoc loc
Source code location of this type definition
- mixins
-
const DocTypeRef[] mixins
Mixins 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 pod
Pod which defines this type
- qname
-
Str qname()
Qualified name formatted as "pod::name".
- ref
-
const DocTypeRef ref
Representation 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[] slots
List 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