P | |
Package | |
PackageSeparator | |
PackageSeparatorWasSet | |
PageTitleIfFirst, NaturalDocs:: | |
Parameters, NaturalDocs:: | |
ParentReferenceDefinitions, NaturalDocs:: | |
ParentReferences, NaturalDocs:: | |
ParentReferencesOf, NaturalDocs:: | |
Parents, NaturalDocs:: | |
ParentsOf, NaturalDocs:: | |
Parse, NaturalDocs:: | |
ParseCommandLine, NaturalDocs:: | |
ParseComment | |
ParseFile | |
ParseForBuild, NaturalDocs:: | |
ParseForCommentsAndTokens, NaturalDocs:: | |
ParseForInformation, NaturalDocs:: | |
ParseHeaderLine, NaturalDocs:: | |
ParseParameterLine | |
ParsePascalParameterLine, NaturalDocs:: | |
ParsePrototype | |
PathIsAbsolute, NaturalDocs:: | |
PerlVersion, NaturalDocs:: | |
PluralName, NaturalDocs:: | |
PreprocessFile | |
PreviousIndexes, NaturalDocs:: | |
PrintErrorsAndAnnotateFile, NaturalDocs:: | |
PrintOutputFormats, NaturalDocs:: | |
PrintSyntax, NaturalDocs:: | |
ProcessProperties, NaturalDocs:: | |
ProjectDataDirectory, NaturalDocs:: | |
ProjectDirectory, NaturalDocs:: | |
Prototype | |
PrototypeDefinedIn, NaturalDocs:: | |
PrototypeEndersFor, NaturalDocs:: | |
Purge | |
PurgeDeletedSourceFiles, NaturalDocs:: | |
PurgeFiles | |
PurgeImages | |
PurgeIndexes | |
PurgeIndexFiles, NaturalDocs:: | |
PurgeResolvingInfo, NaturalDocs:: | |
PushToGroup, NaturalDocs:: |
Returns the package SymbolString of the scope, or undef if none.
sub Package
Returns the package SymbolString that the topic appears in.
sub Package
If HasMultiplePackages() is true, returns an arrayref of NaturalDocs::SymbolTable::IndexElement objects.
sub HasMultiplePackages
Returns the package separator symbol.
sub PackageSeparator
Returns the language’s package separator string.
sub PackageSeparator
Returns the package separator symbol.
sub PackageSeparator
Returns the package separator symbol.
sub PackageSeparator
Returns the package separator symbol.
sub SetPackageSeparator #( separator )
Returns whether the language’s package separator string was ever changed from the default.
sub PackageSeparatorWasSet
Returns an array of the FileNames which define the passed parent ReferenceString, or an empty array if none.
sub ParentReferenceDefinitions #( reference )
Returns an array of the parent ReferenceStrings, or an empty array if none.
sub ParentReferences
Returns an array of the parent ReferenceStrings that are defined by the class, or an empty array if none.
sub ParentReferencesOf #( class )
Returns an array of the parent SymbolStrings, or an empty array if none.
sub Parents
Returns a SymbolString array of the passed class’ parents, or an empty array if none.
sub ParentsOf #( class )
Opens the source file and parses process.
sub Parse
Parses and validates the command line.
sub ParseCommandLine
Parses the JavaDoc-syntax comment and adds it to the parsed topic list.
sub ParseComment #( string[] commentLines, bool isJavaDoc, int lineNumber, ParsedTopics[] * parsedTopics )
This will be called whenever a comment capable of containing Natural Docs content is found.
sub ParseComment #( commentLines, isJavaDoc, lineNumber, parsedTopics )
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().
sub ParseFile #( sourceFile, topicsList )
Parses the passed source file, sending comments acceptable for documentation to NaturalDocs::Parser->OnComment() and all other sections to OnCode().
sub ParseFile #( sourceFile, topicsList )
Parses the input file for building, returning it as a NaturalDocs::Parser::ParsedTopic arrayref.
sub ParseForBuild #( file )
Loads the passed file, sends all appropriate comments to NaturalDocs::Parser->OnComment(), and breaks the rest into an arrayref of tokens.
sub ParseForCommentsAndTokens #( FileName sourceFile, string[] lineCommentSymbols, string[] blockCommentSymbols, string[] javadocLineCommentSymbols, string[] javadocBlockCommentSymbols )
Parses the input file for information.
sub ParseForInformation #( file )
If the passed line is a topic header, returns the array ( keyword, title ).
sub ParseHeaderLine #( line )
Parses a prototype parameter line and returns it as a NaturalDocs::Languages::Prototype::Parameter object.
sub ParseParameterLine #( line )
Overridden because Ada uses Pascal-style parameters
sub ParseParameterLine #( ... )
Parses a prototype parameter line and returns it as a NaturalDocs::Languages::Prototype::Parameter object.
sub ParseParameterLine #( line )
sub ParseParameterLine #( ... )
Parses a prototype parameter line and returns it as a NaturalDocs::Languages::Prototype::Parameter object.
sub ParseParameterLine #( line )
Parses a prototype parameter line and returns it as a NaturalDocs::Languages::Prototype::Parameter object.
sub ParseParameterLine #( line )
Parses a Pascal-like prototype parameter line and returns it as a NaturalDocs::Languages::Prototype::Parameter object.
sub ParsePascalParameterLine #( line )
Parses the prototype and returns it as a NaturalDocs::Languages::Prototype object.
sub ParsePrototype #( type, prototype )
Overridden to handle Microsoft’s parenthesisless version.
sub ParsePrototype #( type, prototype )
Parses the prototype and returns it as a NaturalDocs::Languages::Prototype object.
sub ParsePrototype #( type, prototype )
Returns whether the passed path is absolute.
sub PathIsAbsolute #( path )
Returns the current Perl version as a string.
sub PerlVersion
If the file is escaped, strips out all unescaped code.
sub PreprocessFile
An overridable function if you’d like to preprocess the file before it goes into ParseForCommentsAndTokens().
sub PreprocessFile #( lines )
Overridden to support “=begin nd” and similar.
sub PreprocessFile #( lines )
Returns an existence hashref of all the index TopicTypes that previously appeared in the menu.
sub PreviousIndexes
Prints the errors to STDERR in the standard GNU format and annotates the configuration file with them.
sub PrintErrorsAndAnnotateFile
Prints all the possible output formats that can be specified with -o.
sub PrintOutputFormats #( prefix )
Prints the syntax reference.
sub PrintSyntax
Processes an array of language properties from Languages.txt.
sub ProcessProperties #( properties, version, tempExtensions, tempShebangStrings )
Returns the project data directory.
sub ProjectDataDirectory
Returns the project directory.
sub ProjectDirectory
Returns the prototype if one is defined.
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.
sub Prototype
Returns the prototype of symbol defined in the passed FileName, or undef if it doesn’t exist or is not defined in that file.
sub PrototypeDefinedIn #( file )
Returns an arrayref of prototype ender symbols for the passed TopicType, or undef if none.
sub PrototypeEndersFor #( type )
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 Purge
Removes all data associated with deleted source files.
sub PurgeDeletedSourceFiles
Define this function to make the package remove all output related to the passed files.
sub PurgeFiles #( files )
Deletes the output files associated with the purged source files.
sub PurgeFiles #( filesToPurge )
Define this function to make the package remove all output related to the passed image files.
sub PurgeImages #( files )
Define this function to make the package remove all output related to the passed image files.
sub PurgeImages #( files )
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 #( indexes )
Clears all generated indexes.
sub PurgeIndexes
Removes all or some of the output files for an index.
sub PurgeIndexFiles #( TopicType type, optional NaturalDocs::SymbolTable:: IndexElement[] indexSections, optional int startingPage )
Purges unnecessary information from the symbol table after it is fully resolved.
sub PurgeResolvingInfo
Pushes the entry to the end of the group content.
sub PushToGroup #( entry )