const classafAskFanny::Section
sys::Obj afAskFanny::Section
A search result.
- content
const Str contentFandoc content.
- contentAsHtml
Str contentAsHtml(Uri baseUrl := `http://fantom.org/doc/`)Returns the fandoc content as HTML, resolving links to the given
baseUrl.- keywords
const Str[] keywordsList of keywords this Section is indexed under.
- make
new make(|This f)Standard it-block ctor.
- parents
const Section[] parentsA hierarchy of parents.
- pod
const Str podName of the (containing) pod.
- qname
const Str qnameThe fantom qname of this Section.
- resolve
Uri resolve(Str qname, Uri baseUrl := `http://fantom.org/doc/`)Resolves the given
qnameto a web URL. Returnsqname.toUriif it doesn't look like a qname.- title
const Str titleDisplay name.
- toPlainText
Str toPlainText(Int maxWidth := 80)Renders the section to pretty plain text, wrapping at the given
maxWidth.- type
const Str? typeName of the (containing) chapter / type.
- webUrl
Uri webUrl()Resolves this Section's
qnameto a web URL.- what
const SectionType whatWhat the Section is.