Emitter for Doxygen templates. More...
Go to the source code of this file.
Functions | |
SUB_CDECL | doxy_entryListPara (BYVAL_AS_Parser_PTR P) |
Emitter to generate a line for a parameter list entry. More... | |
SUB_CDECL | doxy_func_ (BYVAL_AS_Parser_PTR P) |
Emitter to generate a template for a function. More... | |
SUB_CDECL | doxy_decl_ (BYVAL_AS_Parser_PTR P) |
Emitter to generate a template for a declaration. More... | |
SUB_CDECL | doxy_defi_ (BYVAL_AS_Parser_PTR P) |
Emitter to generate a templates for a macro. More... | |
SUB_CDECL | doxy_emitBlockNames (BYVAL_AS_Parser_PTR P) |
Emitter to generate a line for a block entry. More... | |
SUB_CDECL | doxy_Block (BYVAL_AS_Parser_PTR P) |
Emitter to generate templates for blocks. More... | |
SUB_CDECL | doxy_empty (BYVAL_AS_Parser_PTR P) |
Emitter for an empty Geany block. More... | |
SUB | init_doxy (BYVAL_AS_EmitterIF_PTR Emi) |
Initialize the DoxygenTemplates EmitterIF. More... | |
Variables | |
const VAR | DOXY_START = NL & "/'* " |
the start of a comment block More... | |
const VAR | DOXY_END |
the end of a comment block More... | |
Emitter for Doxygen templates.
This file contains the emitter DoxygenTemplates, which isn't use by any run mode as default. It's used to generate templates for the Doxygen back-end in mode --geany-mode (-g).
The emitters returns all original source code unchanged. Additionally, relevant constructs (statements or code blocks) get prepended by a multi line block of documentation in Doxygen syntax. This works for
TYPE, UNION
and ENUM
, andSUB
, FUNCTION
, VAR
, DIM
, CONST
, COMMON
, EXTERN
, STATIC
, #DEFINE
and #MACRO
The documentation template contains
param
or var
)The placeholder FIXME
is used to mark the positions where the documentation context should get filled in. See section SubSecExaDoxy for an example.
Definition in file fbdoc_emit_doxy.bas.
SUB_CDECL doxy_entryListPara | ( | BYVAL_AS_Parser_PTR | P | ) |
Emitter to generate a line for a parameter list entry.
P | the parser calling this emitter |
This emitter gets called when the parser is in a parameter list of a function (SUB FUNCTION PROPERTY CONSTRUCTOR DESTRUCTOR
). It generates a line for each parameter and sends it (them) to the output stream.
Definition at line 56 of file fbdoc_emit_doxy.bas.
SUB_CDECL doxy_func_ | ( | BYVAL_AS_Parser_PTR | P | ) |
Emitter to generate a template for a function.
P | the parser calling this emitter |
This emitter gets called when the parser finds a function (SUB FUNCTION PROPERTY CONSTRUCTOR DESTRUCTOR
). It generates a template to document the function and its parameter list and sends it to the output stream.
Definition at line 72 of file fbdoc_emit_doxy.bas.
SUB_CDECL doxy_decl_ | ( | BYVAL_AS_Parser_PTR | P | ) |
Emitter to generate a template for a declaration.
P | the parser calling this emitter |
This emitter gets called when the parser is in a declaration (VAR DIM CONST COMMON EXTERN STATIC
). It generates a line for each variable name and sends it (them) to the output stream.
Definition at line 95 of file fbdoc_emit_doxy.bas.
SUB_CDECL doxy_defi_ | ( | BYVAL_AS_Parser_PTR | P | ) |
Emitter to generate a templates for a macro.
P | the parser calling this emitter |
This emitter gets called when the parser finds a macro (#DEFINE
#MACRO
). It generates a template to document the macro and sends it to the output stream.
Definition at line 144 of file fbdoc_emit_doxy.bas.
SUB_CDECL doxy_emitBlockNames | ( | BYVAL_AS_Parser_PTR | P | ) |
Emitter to generate a line for a block entry.
P | the parser calling this emitter |
This emitter gets called when the parser is in a block (TYPE ENUM UNION
). It generates a line for each member and sends it (them) to the output stream.
Definition at line 162 of file fbdoc_emit_doxy.bas.
SUB_CDECL doxy_Block | ( | BYVAL_AS_Parser_PTR | P | ) |
Emitter to generate templates for blocks.
P | the parser calling this emitter |
This emitter gets called when the parser finds a block (TYPE UNION ENUM
). It generates a template to document the block with one line for each member and sends it to the output stream.
Definition at line 187 of file fbdoc_emit_doxy.bas.
SUB_CDECL doxy_empty | ( | BYVAL_AS_Parser_PTR | P | ) |
Emitter for an empty Geany block.
P | the parser calling this emitter |
This emitter gets called when an empty block gets send by Geany. It generates a template to document the source file and sends it to the output stream.
Definition at line 223 of file fbdoc_emit_doxy.bas.
SUB init_doxy | ( | BYVAL_AS_EmitterIF_PTR | Emi | ) |
Initialize the DoxygenTemplates
EmitterIF.
Emi | The EmitterIF to initialize |
FIXME
Definition at line 240 of file fbdoc_emit_doxy.bas.
const VAR DOXY_START = NL & "/'* " |
the start of a comment block
Definition at line 39 of file fbdoc_emit_doxy.bas.
const VAR DOXY_END |
the end of a comment block
Definition at line 40 of file fbdoc_emit_doxy.bas.