diff options
Diffstat (limited to 'setedit/libmigdb/doc/html.frt')
-rw-r--r-- | setedit/libmigdb/doc/html.frt | 282 |
1 files changed, 282 insertions, 0 deletions
diff --git a/setedit/libmigdb/doc/html.frt b/setedit/libmigdb/doc/html.frt new file mode 100644 index 0000000..92082d3 --- /dev/null +++ b/setedit/libmigdb/doc/html.frt @@ -0,0 +1,282 @@ +# +# This file sets the behavior of the txh generator +# +# Lines starting with # or spaces are skiped except in strings or in [Generate] +# Be carefull with [ it delimits sections! +# + +[Configuration] +# +# No external program is needed! +# @.html means: Copy the temporal file to xxxxx.html +# +CommandLine=@.html +Name="Direct HTML 3.X format" + +[Delimiters] +# Up to 11 characters +SectionStart=/**[txh]** +# Up to 11 characters +SectionEnd=*********/ + +[Variables] +# +# Up to 16 definitions +# +# Codes for the behavior of the definitions: +# 1 Normal, put the content if found. +# 2 Repeat, use the last value found in the file, ~no is an exeption, ~clear stops +# 3 If not found replace by the prototype. +# 4 If not found replace by the class. +# 5 If not found replace by the name of the function +# 6 It disables the node generation for this comment. The variable is +# stored in the first variable that have associations and is in the comment. +# +# Additionally there are 2 special variables: +# 90 Name of the file +# 91 Line number of the end of the comment +# 92 Name of the var 0 in the format: ~0 ~~Distinguish{(~Distinguish)~} (node name) +# +# 0 The first variable is the main index variable +# +AddDefinition=Function,5 +# 1 +AddDefinition=Class,4 +# 2 +AddDefinition=Include,2 +# 3 +AddDefinition=Module,2 +# 4 +AddDefinition=Prototype,3 +# 5 +AddDefinition=Description,1 +# 6 +AddDefinition=Return,1 +# 7 +AddDefinition=Example,1 +# 8 +AddDefinition=Comments,6 +# 9 +AddDefinition=Command,1 +# +# It says what variable is added to distinguish between 2 vars 0 that are equal +# +Distinguish=1 + +[Associations] +# +# Up to 8 associations +# +# The associations are between the 0 variable and another variable. +# +# Name in main menu, node, variable, optional to add to each node +# +AddAssoc=List by classes,Classes,1,(class) +AddAssoc=List by modules,Modules,3 +AddAssoc=List by files,Files,90 +AddAssoc=List by GDB/MI command,Command,9 + +[Replace] +# +# All must be delimited by ", they can be used in the GenMain section +# +# Title of the HTML +Constant="GDB/MI library" + +# Description for the help +Constant="This document describes the functions of libmigdb library +@p +This document applies to version 0.8.10 of the GDB/Machine interface +library. +@p +Most of the C++ interface is fully documented. But not all the C +interface is docummented. +@p +The name of the high level C functions are derived from the corresponding +GDB/MI command. For this reason I recommend using the chapter 'GDB/MI' of +gdb documentation as main reference. As an example: The gdb command +'-thread-list-ids' is implemented in the gmi_thread_list_ids function. This +function uses the lowlevel function mi_thread_list_ids. +@p +The mi_gdb.h header contains a lot of comments about what does each +function. And the examples show how to them together. +@p +" + +[Commands] +# +# You can enclose these values between " to make more clear where +# they start and end. Use \n,\r,\t and \" like in C. Use \ at the +# end to concatenate like in C. +# +# @p = end of paragraph +# +EndOfPar="<p>" +# +# @* = break line +# +BreakLine="<br>" +# +# @{value} is the special cross ref. +# ~0 Is the visible name of a reference +# ~1 Is the real name of a reference +# +CrossRef="<a href=\"#~1\">~0</a>" +# +# What we must get from a @@ sequence +# +Double@="@" + +[DefinedCommands] +# +# The format is @<name>{parameters ...} +# +subtitle="<Font Size=+1><u>~0</u></Font><p>" +pre=<pre> +/pre=</pre> +link="<a href=\"~0\">~1</a>" +mailto="<a href=\"mailto:~0\">~1</a>" + +# +# This section says how to translate ASCIIs +# +[ASCIIConvert] +=á +=é +=í +=ó +=ú +=ñ +=Ñ +=¡ +=¿ +=ä +=ë +=ï +=ö +=ü +=Ü +=à +=è +=ì +=ò +=ù +<=< +>=> + +# +# Use ~number to use one variable +# Use ~~number{} for conditional, all the code inside {} will become +# conditional +# This section isn't passed for the macro expansion so here you are +# free to use special commands for the formater. +# +[GenNode] +<p><hr></p> +<a name="~92"></a> +<center><Font Size=+2>~0</Font> (~90 ~91)</center> + +<Font Size=+1><u>Syntax</u></Font><p> + +~~2{ +<pre> +# This line is a comment, but the next is code + #include <~2> +</pre> +~} +~~4{ +<pre> + ~4; +</pre> +~} +~~1{ +<Font Size=+1><u>Member of the class:</u></Font> +~1 +<p> +~} + +~~5{ +<Font Size=+1><u>Description</u></Font><p> + +~5 +<p> +~} +~~6{ +<Font Size=+1><u>Return Value</u></Font><p> + +~6 +<p> +~} +~~7{ +<Font Size=+1><u>Example</u></Font><p> + +~7 +<p> +~} + +[GenMenu] +Start="<Menu>" +# +# ~1 is the visible name +# ~2 is the name of the node +# +Entry="<li><a href=\"#~2\">~1</a>" +End="</Menu>" + +# +# ~1 is the name of the association +# ~2 is the menu for it +# +[GenAssoMain] +<p><hr></p> +<a name="~1"></a> +<H1>~1</H1> + +~2 +# +# ~1 is the name of the association +# ~2 is the name without the distinguish +# ~3 is the comment for it +# ~4 is the menu for it +# +[GenAssoRest] +<p><hr></p> +<a name="~1"></a> +<H1>~2</H1> + +~3 + +~4 + +# +# ~1 Main menu +# ~2 Name of the function list node +# ~3 Menu for all the functions +# ~4 All the associations code +# ~5 All the function nodes +# ~50+ Values from section Replace +# +[GenMain] +<html> +<head> +<title>~50</title> +</head> +<body> +<H1>~50</H1> + +~51 + +~1 + +<p><hr></p> +<a name="~2"></a> +<H1>~2</H1> + +~3 + +~4 + +~5 + +</body> +</html> |