fdoc

modulefdoc_buffer

Building text piece by piece, without functions returning deferred-length strings, so that it can be used in parallel regions (see example/slen_race.f90).

Graphs

Used by

Types

buffer_t

Text being built.

Functions

int_textpure

pure character(len=12) function int_text(k) result(text)

k as text, in a fixed width. This is for parallel code, as an internal write takes a lock that threads end up spending most of their time on.

Subroutines

addpure

pure subroutine add(b, text)

Append text to b.

html_escapepure

pure subroutine html_escape(text, b, quotes)

Append text, escaped for HTML.

takepure

pure subroutine take(b, text)

Move the text of b to text.