enum classafAskFanny::SectionType

sys::Obj
  sys::Enum
    afAskFanny::SectionType

@Serializable { simple=true }

The type of Section.

chapter

Source

const static SectionType chapter := ...

dis

Source

Str dis()

Convenience for name.toDisplayName.

documentation

Source

const static SectionType documentation := ...

field

Source

const static SectionType field := ...

fromStr

Source

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

Source

Bool isApi()

Returns true if type, field, or method.

isDoc

Source

Bool isDoc()

Returns true if pod, chapter or documentation.

isSlot

Source

Bool isSlot()

Returns true if field or method.

method

Source

const static SectionType method := ...

pod

Source

const static SectionType pod := ...

type

Source

const static SectionType type := ...

vals

Source

const static SectionType[] vals := ...

List of SectionType values indexed by ordinal