const classafAskFanny::Section
sys::Obj afAskFanny::Section
A search result.
- content
const Str content
Fandoc 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[] keywords
List of keywords this Section is indexed under.
- make
new make(|This f)
Standard it-block ctor.
- parents
const Section[] parents
A hierarchy of parents.
- pod
const Str pod
Name of the (containing) pod.
- qname
const Str qname
The fantom qname of this Section.
- resolve
Uri resolve(Str qname, Uri baseUrl := `http://fantom.org/doc/`)
Resolves the given
qname
to a web URL. Returnsqname.toUri
if it doesn't look like a qname.- title
const Str title
Display name.
- toPlainText
Str toPlainText(Int maxWidth := 80)
Renders the section to pretty plain text, wrapping at the given
maxWidth
.- type
const Str? type
Name of the (containing) chapter / type.
- webUrl
Uri webUrl()
Resolves this Section's
qname
to a web URL.- what
const SectionType what
What the Section is.