Function 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
O
Obscure, NaturalDocs::ConfigFile
sub Obscure #(text)
Obscures the passed text so that it is not user editable and returns it.
OnClass, NaturalDocs::Parser
sub OnClass #(class)
A function called by NaturalDocs::Languages::Base-derived objects when their parsers encounter a class declaration.
OnClassParent, NaturalDocs::Parser
sub OnClassParent #(class,
parent,
protection)
A function called by NaturalDocs::Languages::Base-derived objects when their parsers encounter a declaration of inheritance.
OnCode, NaturalDocs::Languages::Simple
sub OnCode #(codeLines,
codeLineNumber,
topicList,
lastCommentTopicCount)
Called whenever a section of code is encountered by the parser.
OnComment, NaturalDocs::Parser
sub OnComment #(commentLines,
lineNumber)
The function called by NaturalDocs::Languages::Base-derived objects when their parsers encounter a comment suitable for documentation.
OnDefaultTitleChange, NaturalDocs::Menu
sub OnDefaultTitleChange #(file)
Called by NaturalDocs::Project if the default menu title of a source file has changed.
OnFileChange, NaturalDocs::Menu
sub OnFileChange
Called by NaturalDocs::Project if it detects that the menu file has changed.
OpeningBrowserStyles, NaturalDocs::Builder::HTMLBase
Returns the JavaScript that will add opening browser styles if necessary.
OpeningCommentSymbols, NaturalDocs::Languages::Simple
sub OpeningCommentSymbols
Returns an arrayref of symbols used to start a multi-line comment, or undef if none.
OutputDirectoryOf, NaturalDocs::Settings
sub OutputDirectoryOf #(object)
Returns the output directory of a builder object.
OutputFileOf, NaturalDocs::Builder::HTMLBase
Returns the output file name of the source file.
OutputPackageOf, NaturalDocs::Builder
sub OutputPackageOf #(commandLineOption)
Returns the output package corresponding to the passed command line option, or undef if none.
OutputPackages, NaturalDocs::Builder
sub OutputPackages
Returns an arrayref of the output packages available for use.
OutputStyleOf, NaturalDocs::Settings
sub OutputStyleOf #(object)
Returns the style associated with a builder object.
P
Package, NaturalDocs::Languages::Advanced::Scope
sub Package
Returns the package or class of the scope, or undef if none.
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.
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.
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.
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.
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.
PreviousIndexes, NaturalDocs::Menu
sub PreviousIndexes
Returns an existence hashref of all the indexes that previously appeared in the menu.
PreviousMenuStateFile, NaturalDocs::Project
sub PreviousMenuStateFile
Returns the full path to the project’s previous menu state file.
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.
ProjectDataDirectory, NaturalDocs::Settings
sub ProjectDataDirectory
Returns the project data 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.
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.
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.
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
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
sub RebuildOutput
Returns whether the script should rebuild all output files from scratch.
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.
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.
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.
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.