Name

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

Synopsis

function ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

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.

See Also

funcdef, funcparams, funcprototype, funcsynopsisinfo, paramdef, parameter, returnvalue, varargs, void

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.