Unit PasDoc_Gen
Description
Base generator class TDocGenerator, to be specialized for specific output formats.
PasDoc_Gen contains the basic documentation generator object TDocGenerator. It is not sufficient by itself but the basis for all generators that produce documentation in a specific format like HTML or LaTex. They override TDocGenerator's virtual methods.
Source: source/component/PasDoc_Gen.pas (line 43).
Uses
- PasDoc_Items
- PasDoc_Languages
- PasDoc_StringVector
- PasDoc_ObjectVector
- PasDoc_HierarchyTree
- PasDoc_Types
- Classes
- Contnrs
- PasDoc_TagManager
- PasDoc_Aspell
- PasDoc_StreamUtils
- PasDoc_StringPairVector
Overview
Classes, Interfaces, Objects and Records
| Name | Description |
|---|---|
Record TOverviewFileInfo |
|
Class TListItemData |
Collected information about @xxxList item. |
Class TListData |
Collected information about @xxxList content. |
Class TRowData |
Collected information about @row (or @rowHead). |
Class TTableData |
Collected information about @table. |
Class TDocGenerator |
Base generator class, to be specialized for specific output formats. |
Types
TOverviewFile = (...); |
TCreatedOverviewFile = Low(TOverviewFile) .. ofIdentifiers; |
TLinkLook = (...); |
TLinkNotFoundAction = (...); |
TLinkContext = (...); |
TListType = (...); |
TListItemSpacing = (...); |
Constants
OverviewFilesInfo: array[TOverviewFile] of TOverviewFileInfo = (
(BaseFileName: 'AllUnits' ; TranslationId: trUnits ; TranslationHeadlineId: trHeadlineUnits ; NoItemsTranslationId: trNone ; ),
(BaseFileName: 'ClassHierarchy'; TranslationId: trClassHierarchy ; TranslationHeadlineId: trClassHierarchy ; NoItemsTranslationId: trNoCIOs ; ),
(BaseFileName: 'AllClasses' ; TranslationId: trCio ; TranslationHeadlineId: trHeadlineCio ; NoItemsTranslationId: trNoCIOs ; ),
(BaseFileName: 'AllTypes' ; TranslationId: trTypes ; TranslationHeadlineId: trHeadlineTypes ; NoItemsTranslationId: trNoTypes ; ),
(BaseFileName: 'AllVariables' ; TranslationId: trVariables ; TranslationHeadlineId: trHeadlineVariables ; NoItemsTranslationId: trNoVariables ; ),
(BaseFileName: 'AllConstants' ; TranslationId: trConstants ; TranslationHeadlineId: trHeadlineConstants ; NoItemsTranslationId: trNoConstants ; ),
(BaseFileName: 'AllFunctions' ; TranslationId: trFunctionsAndProcedures; TranslationHeadlineId: trHeadlineFunctionsAndProcedures; NoItemsTranslationId: trNoFunctions ; ),
(BaseFileName: 'AllIdentifiers'; TranslationId: trIdentifiers ; TranslationHeadlineId: trHeadlineIdentifiers ; NoItemsTranslationId: trNoIdentifiers ; ),
(BaseFileName: 'GVUses' ; TranslationId: trGvUses ; TranslationHeadlineId: trGvUses ; NoItemsTranslationId: trNone ; ),
(BaseFileName: 'GVClasses' ; TranslationId: trGvClasses ; TranslationHeadlineId: trGvClasses ; NoItemsTranslationId: trNoCIOs ; )
); |
LowCreatedOverviewFile = Low(TCreatedOverviewFile); |
HighCreatedOverviewFile = High(TCreatedOverviewFile); |
Description
Types
TOverviewFile = (...); |
|
Overview files that pasdoc generates for multiple-document-formats like HTML (see TGenericHTMLDocGenerator). But not all of them are supposed to be generated by pasdoc, some must be generated by external programs by user, e.g. uses and class diagrams must be made by user using programs such as GraphViz. See type TCreatedOverviewFile for subrange type of TOverviewFile that specifies only overview files that are really supposed to be made by pasdoc. Values
|
TCreatedOverviewFile = Low(TOverviewFile) .. ofIdentifiers; |
|
This item has no description. |
TLinkLook = (...); |
|
This item has no description. Values
|
TLinkNotFoundAction = (...); |
|
This item has no description. Values
|
TLinkContext = (...); |
|
This is used by TDocGenerator.MakeItemLink Values
|
TListType = (...); |
|
This item has no description. Values
|
TListItemSpacing = (...); |
|
This item has no description. Values
|
Constants
OverviewFilesInfo: array[TOverviewFile] of TOverviewFileInfo = (
(BaseFileName: 'AllUnits' ; TranslationId: trUnits ; TranslationHeadlineId: trHeadlineUnits ; NoItemsTranslationId: trNone ; ),
(BaseFileName: 'ClassHierarchy'; TranslationId: trClassHierarchy ; TranslationHeadlineId: trClassHierarchy ; NoItemsTranslationId: trNoCIOs ; ),
(BaseFileName: 'AllClasses' ; TranslationId: trCio ; TranslationHeadlineId: trHeadlineCio ; NoItemsTranslationId: trNoCIOs ; ),
(BaseFileName: 'AllTypes' ; TranslationId: trTypes ; TranslationHeadlineId: trHeadlineTypes ; NoItemsTranslationId: trNoTypes ; ),
(BaseFileName: 'AllVariables' ; TranslationId: trVariables ; TranslationHeadlineId: trHeadlineVariables ; NoItemsTranslationId: trNoVariables ; ),
(BaseFileName: 'AllConstants' ; TranslationId: trConstants ; TranslationHeadlineId: trHeadlineConstants ; NoItemsTranslationId: trNoConstants ; ),
(BaseFileName: 'AllFunctions' ; TranslationId: trFunctionsAndProcedures; TranslationHeadlineId: trHeadlineFunctionsAndProcedures; NoItemsTranslationId: trNoFunctions ; ),
(BaseFileName: 'AllIdentifiers'; TranslationId: trIdentifiers ; TranslationHeadlineId: trHeadlineIdentifiers ; NoItemsTranslationId: trNoIdentifiers ; ),
(BaseFileName: 'GVUses' ; TranslationId: trGvUses ; TranslationHeadlineId: trGvUses ; NoItemsTranslationId: trNone ; ),
(BaseFileName: 'GVClasses' ; TranslationId: trGvClasses ; TranslationHeadlineId: trGvClasses ; NoItemsTranslationId: trNoCIOs ; )
); |
|
This item has no description. |
LowCreatedOverviewFile = Low(TCreatedOverviewFile); |
|
Using High(TCreatedOverviewFile) or High(Overview) where Overview: TCreatedOverviewFile in PasDoc_GenHtml produces internal error in FPC 2.0.0. Same for Low(TCreatedOverviewFile). This is submitted as FPC bug 4140, FPC bug 4140. Fixed in FPC 2.0.1 and FPC 2.1.1. |
HighCreatedOverviewFile = High(TCreatedOverviewFile); |
|
This item has no description. |
Authors
Created
30 Aug 1998
Generated by PasDoc 0.17.0.snapshot.