Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
Package, NaturalDocs::Languages::Advanced::Scope
sub Package
Returns the package or class of the scope, or undef if none.
PACKAGE, NaturalDocs::Languages::Advanced::Scope
The package or class of the scope.
Package Variables, NaturalDocs::Builder::HTMLBase
These variables are shared by all instances of the package so don’t change them.
The body tag is used to distinguish between the types of pages.
ParentDefinitions, NaturalDocs::ClassHierarchy::Class
sub ParentDefinitions #(parent)
Returns an array of all the files that define the parent as part of the class, or an empty array if none.
Parents, NaturalDocs::ClassHierarchy::Class
sub Parents
Returns an array of the parent classes, or an empty array if none.
PARENTS, NaturalDocs::ClassHierarchy::Class
A hashref of parents this class has.
sub ParentsOf #(class)
Returns an array of the passed class’ parents, or an empty array if none.
sub ParentsOf #(class)
Returns an array of the parents that are defined by the class, or an empty array if none.
Parse, NaturalDocs::Parser
sub Parse
Opens the source file and parses process.
ParseCommandLine, NaturalDocs::Settings
sub ParseCommandLine
Parses and validates the command line.
sub ParseCommandLineOptions #(options)
Sends the command line options to their extensions.
sub ParseCommandLineOptions #(options)
This is called after the command line has been parsed.
ParseComment, NaturalDocs::Parser::Native
sub ParseComment #(commentLines,
lineNumber,
parsedTopics)
This will be called whenever a comment capable of containing Natural Docs content is found.
parsedFile, NaturalDocs::Parser
my @parsedFile
An array of NaturalDocs::Parser::ParsedTopic objects.
Parses the passed source file, sending comments acceptable for documentation to NaturalDocs::Parser->OnComment().
sub ParseFile #(sourceFile,
topicsList)
Parses the passed source file, sending comments acceptable for documentation to NaturalDocs::Parser->OnComment().
sub ParseFile #(sourceFile,
topicsList)
Parses the passed source file, sending comments acceptable for documentation to NaturalDocs::Parser->OnComment() and all other sections to OnCode().
ParseForBuild, NaturalDocs::Parser
sub ParseForBuild #(file)
Parses the input file for building, returning it as a NaturalDocs::Parser::ParsedTopic arrayref.
ParseForCommentsAndTokens, NaturalDocs::Languages::Advanced
sub ParseForCommentsAndTokens #(sourceFile,
lineCommentSymbols,
openingCommentSymbols,
closingCommentSymbols)
Loads the passed file, sends all appropriate comments to NaturalDocs::Parser->OnComment(), and breaks the rest into an arrayref of tokens.
ParseForInformation, NaturalDocs::Parser
sub ParseForInformation #(file)
Parses the input file for information.
These functions are good general language building blocks.
parsingForInformation, NaturalDocs::Parser
my $parsingForInformation
Whether ParseForInformation() was called.
Path String Functions, NaturalDocs::File
PathIsAbsolute, NaturalDocs::File
sub PathIsAbsolute #(path)
Returns whether the passed path is absolute.
PluralNameOf, NaturalDocs::Topics
sub PluralNameOf #(topic)
Returns the plural name string of the passed constant.
pluralNames, NaturalDocs::Topics
my @pluralNames
An array of the topic names, but plural.
PreparePrototype, NaturalDocs::SymbolTable
sub PreparePrototype #(prototype)
Converts a prototype string for internal use.
PrepareString, NaturalDocs::SymbolTable
sub PrepareString #(string)
Takes a symbol, reference, class, or scope and removes any minor features that could interfere with matching.
PREVIOUS_SETTINGS_FILEHANDLE, NaturalDocs::Settings
The file handle used with PreviousSettings.nd.
previousIndexes, NaturalDocs::Menu
my %previousIndexes
An existence hash of all the indexes that appeared in the menu last time.
PreviousIndexes, NaturalDocs::Menu
sub PreviousIndexes
Returns an existence hashref of all the indexes that previously appeared in the menu.
The file used to store the previous state of the menu so as to detect changes.
PreviousMenuStateFile, NaturalDocs::Project
sub PreviousMenuStateFile
Returns the full path to the project’s previous menu state file.
Stores the previous command line settings.
PreviousSettingsFile, NaturalDocs::Project
sub PreviousSettingsFile
Returns the full path to the project’s previous settings file.
PrintOutputFormats, NaturalDocs::Settings
sub PrintOutputFormats #(prefix)
Prints all the possible output formats that can be specified with -o.
PrintSyntax, NaturalDocs::Settings
sub PrintSyntax
Prints the syntax reference.
Processing Functions, NaturalDocs::Parser
ProjectDataDirectory, NaturalDocs::Settings
sub ProjectDataDirectory
Returns the project data directory.
projectDirectory, NaturalDocs::Settings
my $projectDirectory
The project directory.
ProjectDirectory, NaturalDocs::Settings
sub ProjectDirectory
Returns the project directory.
Protection, NaturalDocs::Languages::Advanced::Scope
sub Protection
Returns the protection of the scope, such as public/private/protected.
PROTECTION, NaturalDocs::Languages::Advanced::Scope
The protection of the scope, such as public/private/protected.
sub Prototype
Returns the prototype if Type() is TOPIC_FUNCTION or TOPIC_VARIABLE and one is defined.
sub Prototype
Returns the prototype of the class/symbol/file, if applicable.
sub Prototype
Returns the target’s prototype, or undef if not defined or not applicable.
sub Prototype
Returns the definition’s prototype, or undef if it doesn’t have one.
The prototype, if it exists and is applicable.
The class/symbol/file prototype, or undef if not applicable.
The target’s prototype, or undef if none.
The symbol’s prototype, if applicable.
PrototypeDefinedIn, NaturalDocs::SymbolTable::Symbol
sub PrototypeDefinedIn #(file)
Returns the prototype of symbol defined in the passed file, or undef if it doesn’t exist or is not defined in that file.
prototypeDirectives, NaturalDocs::Languages::Pascal
my %prototypeDirectives
An existence hash of all the directives that can appear after a function prototype and will be included.
sub Purge
Purges the hierarchy of files that no longer have Natural Docs content.
sub Purge
Purges the symbol table of all symbols and references from files that no longer have Natural Docs content.
sub PurgeFiles #(files)
Define this function to make the package remove all output related to the passed files.
sub PurgeFiles
Deletes the output files associated with the purged source files.
sub PurgeIndexes #(indexes)
Define this function to make the package remove all output related to the passed indexes.
sub PurgeIndexes #(indexes)
Deletes the output files associated with the purged source files.
sub PurgeIndexes
Clears all generated indexes.
PurgeIndexFiles, NaturalDocs::Builder::HTMLBase
Removes all or some of the output files for an index.
PurgeResolvingInfo, NaturalDocs::SymbolTable
sub PurgeResolvingInfo
Purges unnecessary information from the symbol table after it is fully resolved.
PushToGroup, NaturalDocs::Menu::Entry
sub PushToGroup #(entry)
Pushes the entry to the end of the group content.
R
rebuildData, NaturalDocs::Settings
my $rebuildData
Whether the script should rebuild all data files from scratch.
RebuildData, NaturalDocs::Settings
sub RebuildData
Returns whether the script should rebuild all data files from scratch.
RebuildEverything, NaturalDocs::Project
sub RebuildEverything
Adds all supported files to the list of files to build.
RebuildFile, NaturalDocs::Project
sub RebuildFile #(file)
Adds the file to the list of files to build.
rebuildOutput, NaturalDocs::Settings
my $rebuildOutput
Whether the script should rebuild all output files from scratch.
RebuildOutput, NaturalDocs::Settings
sub RebuildOutput
Returns whether the script should rebuild all output files from scratch.
references, NaturalDocs::SymbolTable
my %references
A hash of all references in the project.
sub References #(scope,
reference,
file)
Returns what the passed symbol and scope reference, if anything.
sub References
Returns an array of all the references defined in this file.
sub References
Returns an array of all the references that can be interpreted as this symbol.
An existence hashref of all the references in the file.
A hashref of the references that can be interpreted as this symbol.
ReferencesAndScores, NaturalDocs::SymbolTable::Symbol
sub ReferencesAndScores
Returns a hash of all the references that can be interpreted as this symbol and their scores.
RelativeIndexFileOf, NaturalDocs::Builder::HTMLBase
Returns the output file name of the index file, relative to other index files.
RemoveDeadFiles, NaturalDocs::Menu
sub RemoveDeadFiles
Removes files from the menu that no longer exist or no longer have Natural Docs content.
RemoveDeadGroups, NaturalDocs::Menu
Removes groups with less than two entries.
RemoveExtenders, NaturalDocs::Languages::Simple
sub RemoveExtenders #(stringRef)
Strips any LineExtender() symbols out of the prototype.
RemoveIfDead, NaturalDocs::Menu
Checks a group and all its sub-groups for life and remove any that are dead.
RepairScope, NaturalDocs::Parser
sub RepairScope #(autoTopics,
scopeRecord)
Recalculates the scope for all comment topics using the auto-topics and the scope record.
ReparseEverything, NaturalDocs::Project
sub ReparseEverything
Adds all supported files to the list of files to parse.
Required Functions, NaturalDocs::Extensions::Base
These functions must be defined by extension packages if appropriate.
Required Interface Functions, NaturalDocs::Builder::Base
All Builder classes must define these functions.
requireErrors, NaturalDocs::Extensions
my %requireErrors
A hash of all the errors from each package’s Requires() requirements.
Requires, NaturalDocs::Extensions
sub Requires #(extension,
requirement,
requirement,
requirement ...)
Adds external packages similar to if you used the line ‘require [package]’.
ResetToolTips, NaturalDocs::Builder::HTMLBase
Resets the ToolTip Package Variables for a new page.
ResolveFile, NaturalDocs::Menu
sub ResolveFile #(relativePath,
possibleBases,
possibleBaseScores)
Tests a relative path against a list of directories.
ResolveInputDirectories, NaturalDocs::Menu
sub ResolveInputDirectories #(inputDirectoryNames)
Detects if the input directories in the menu file match those in the command line, and if not, tries to resolve them.
sub ResolveRelativeInputDirectories
Resolves pre-1.16 relative input directories to the input directories available.
ResortGroups, NaturalDocs::Menu
Resorts all groups that have MENU_GROUP_UPDATEORDER set.
RestoreAmpChars, NaturalDocs::NDMarkup
sub RestoreAmpChars #(text)
Replaces NDMarkup amp chars with their original symbols.
How the page structure has changed throughout the various releases.
RichFormatTextBlock, NaturalDocs::Parser::Native
sub RichFormatTextBlock #(text)
Applies rich NDMarkup formatting to a chunk of text.
Run, NaturalDocs::Builder
sub Run
Runs the build process.