Class TPasDoc
Unit
PasDoc_Base
Declaration
type TPasDoc = class(TComponent)
Description
The main object in the pasdoc application; first scans parameters, then parses files. All parsed units are then given to documentation generator, which creates one or more documentation output files.
Hierarchy
Overview
Methods
Properties
Description
Methods
|
procedure RemoveExcludedItems(const c: TPasItems); |
Searches the description of each TPasUnit item in the collection for an excluded tag. If one is found, the item is removed from the collection. If not, the fields, methods and properties collections are called with RemoveExcludedItems If the collection is empty after removal of all items, it is disposed of and the variable is set to nil.
|
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
|
|
constructor Create(AOwner: TComponent); override; |
Creates object and sets fields to default values.
|
|
destructor Destroy; override; |
|
|
procedure AddSourceFileNames(const AFileNames: TStringList); |
Adds source filenames from a stringlist
|
|
procedure AddSourceFileNamesFromFile(const FileName: string; DashMeansStdin: boolean); |
Loads names of Pascal unit source code files from a text file. Adds all file names to SourceFileNames. If DashMeansStdin and AFileName = '-' then it will load filenames from stdin.
|
|
procedure DoError(const AMessage: string; const AArguments: array of const; const AExitCode: Word); |
Raises an exception.
|
|
procedure DoMessage(const AVerbosity: Cardinal; const AMessageType: TPasDocMessageType; const AMessage: string; const AArguments: array of const); |
Forwards a message to the OnMessage event.
|
|
procedure GenMessage(const MessageType: TPasDocMessageType; const AMessage: string; const AVerbosity: Cardinal); |
for Generator messages
|
|
procedure Execute; |
Starts creating the documentation.
|
Properties
|
property Units: TPasUnits read FUnits; |
After Execute has been called, Units holds the units that have been parsed.
|
|
property Conclusion: TExternalItem read FConclusion; |
After Execute has been called, Conclusion holds the conclusion.
|
|
property Introduction: TExternalItem read FIntroduction; |
After Execute has been called, Introduction holds the introduction.
|
|
property DescriptionFileNames: TStringVector
read FDescriptionFileNames write SetDescriptionFileNames; |
|
|
property Directives: TStringVector read FDirectives write SetDirectives; |
|
|
property IncludeDirectories: TStringVector read FIncludeDirectories write
SetIncludeDirectories; |
|
|
property ProjectName: string read FProjectName write FProjectName; |
The name PasDoc shall give to this documentation project, also used to name some of the output files.
|
|
property SourceFileNames: TStringVector read FSourceFileNames write
SetSourceFileNames; |
|
|
property Title: string read FTitle write FTitle; |
|
|
property StarOnly: boolean read GetStarOnly write SetStarOnly stored false; |
|
|
property CommentMarkers: TStringList read FCommentMarkers write SetCommentMarkers; |
|
|
property MarkerOptional: boolean read FMarkerOptional write FMarkerOptional
default false; |
|
|
property IgnoreLeading: string read FIgnoreLeading write FIgnoreLeading; |
|
|
property Generator: TDocGenerator read FGenerator write SetGenerator; |
|
|
property ShowVisibilities: TVisibilities read FShowVisibilities write FShowVisibilities; |
|
|
property CacheDir: string read FCacheDir write FCacheDir; |
|
|
property IntroductionFileName: string read FIntroductionFileName
write FIntroductionFileName; |
|
|
property ConclusionFileName: string read FConclusionFileName
write FConclusionFileName; |
|
|
property HandleMacros: boolean
read FHandleMacros write FHandleMacros default true; |
|
Generated by PasDoc 0.15.0.
|