DocBook 5.1: The Definitive Guide  (Version 1.5.3 for DocBook 5.1)

function

function — The name of a function or subroutine, as in a programming language.

Synopsis

function ::= [-]

Description

This element marks up the name of a function. To mark up the parts of a function definition, see funcsynopsis.

Processing expectations

Formatted inline.

In some environments, the function element generates additional punctuation, such as a set of trailing parentheses.

Children

The following elements occur in function: text, abbrev, acronym, alt, anchor, annotation, biblioref, coref, date, emphasis (db._emphasis), firstterm (db._firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), glossterm (db._glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), quote (db._quote), remark, replaceable, subscript, superscript, trademark, wordasword, xref.