enum classafAskFanny::SectionType
sys::Obj sys::Enum afAskFanny::SectionType
@
Serializable { simple=true }
The type of Section.
- chapter
const static SectionType chapter := ...
- dis
Str dis()
Convenience for
name.toDisplayName
.- documentation
const static SectionType documentation := ...
- field
const static SectionType field := ...
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the SectionType instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- isApi
Bool isApi()
Returns
true
iftype
,field
, ormethod
.- isDoc
Bool isDoc()
Returns
true
ifpod
,chapter
ordocumentation
.- isSlot
Bool isSlot()
Returns
true
iffield
ormethod
.- method
const static SectionType method := ...
- pod
const static SectionType pod := ...
- type
const static SectionType type := ...
- vals
const static SectionType[] vals := ...
List of SectionType values indexed by ordinal