const classafAskFanny::Section

sys::Obj
  afAskFanny::Section

A search result.

content

Source

const Str content

Fandoc content.

contentAsHtml

Source

Str contentAsHtml(Uri baseUrl := `http://fantom.org/doc/`)

Returns the fandoc content as HTML, resolving links to the given baseUrl.

keywords

Source

const Str[] keywords

List of keywords this Section is indexed under.

make

Source

new make(|This f)

Standard it-block ctor.

parents

Source

const Section[] parents

A hierarchy of parents.

pod

Source

const Str pod

Name of the (containing) pod.

qname

Source

const Str qname

The fantom qname of this Section.

resolve

Source

Uri resolve(Str qname, Uri baseUrl := `http://fantom.org/doc/`)

Resolves the given qname to a web URL. Returns qname.toUri if it doesn't look like a qname.

title

Source

const Str title

Display name.

toPlainText

Source

Str toPlainText(Int maxWidth := 80)

Renders the section to pretty plain text, wrapping at the given maxWidth.

type

Source

const Str? type

Name of the (containing) chapter / type.

webUrl

Source

Uri webUrl()

Resolves this Section's qname to a web URL.

what

Source

const SectionType what

What the Section is.