F | |
File | |
FilesInMenu, NaturalDocs:: | |
FilesToBuild, NaturalDocs:: | |
FilesToParse, NaturalDocs:: | |
FilesToPurge, NaturalDocs:: | |
FilesWithContent, NaturalDocs:: | |
FindFirstFile, NaturalDocs:: | |
FindFirstSymbol | |
FindMenuSelection, NaturalDocs:: | |
FlagAutoTitleChanges, NaturalDocs:: | |
Flags, NaturalDocs:: | |
Footer, NaturalDocs:: | |
FormatBody, NaturalDocs:: | |
FormatText, NaturalDocs:: | |
FromBinaryFile | |
FromString, NaturalDocs:: | |
FromText, NaturalDocs:: | |
FromTextFile, NaturalDocs:: | |
FromValues, NaturalDocs:: | |
G | |
GenerateAutoFileTitles, NaturalDocs:: | |
GenerateCrashReport, NaturalDocs:: | |
GenerateDirectoryNames, NaturalDocs:: | |
GenerateInterpretations, NaturalDocs:: | |
GenerateRelativeInterpretations, NaturalDocs:: | |
GenerateTimestampText, NaturalDocs:: | |
GenericRegexpSkip, NaturalDocs:: | |
GenericRegexpSkipUntilAfter, NaturalDocs:: | |
GenericSkip | |
GenericSkipUntilAfter | |
GetAllDefinitionsHashRef, NaturalDocs:: | |
GetAllItemsHashRef, NaturalDocs:: | |
GetAllSupportedFiles, NaturalDocs:: | |
GetAndSkipXMLTag, NaturalDocs:: | |
GetAString16, NaturalDocs:: | |
GetDefinition | |
GetItem, NaturalDocs:: | |
GetLine, NaturalDocs:: | |
GetMenuSelectionHierarchy, NaturalDocs:: | |
GetReferenceTarget, NaturalDocs:: | |
GetSummaryFromBody, NaturalDocs:: | |
GetSummaryFromDescriptionList, NaturalDocs:: | |
GetUInt16, NaturalDocs:: | |
GetUInt32, NaturalDocs:: | |
GetUInt8, NaturalDocs:: | |
GlobalDefinition, NaturalDocs:: | |
GlobalPrototype, NaturalDocs:: | |
GlobalSummary, NaturalDocs:: | |
GlobalType, NaturalDocs:: | |
GroupContent, NaturalDocs:: | |
GroupIsEmpty, NaturalDocs:: |
If HasMultipleFiles() is true, returns an arrayref of NaturalDocs::SymbolTable::IndexElement objects.
sub HasMultipleFiles
Returns the FileName the target is defined in.
sub File
Returns a hashref of all the files present in the menu.
sub FilesInMenu
Returns an existence hashref of the FileNames to build.
sub FilesToBuild
Returns an existence hashref of the FileNames to parse.
sub FilesToParse
Returns an existence hashref of the FileNames that had content last time, but now either don’t anymore or were deleted.
sub FilesToPurge
Returns and existence hashref of the FileNames that have Natural Docs content.
sub FilesWithContent
A function that finds and returns the first file entry in the menu, or undef if none.
sub FindFirstFile
Searches a string for a number of symbols to see which appears first.
sub FindFirstSymbol #( string, symbols, index )
A recursive function that deterimes if it or any of its sub-groups has the menu selection.
sub FindMenuSelection #( FileName sourceFile, TopicType indexType, NaturalDocs::Menu:: Entry[] hierarchyRef, NaturalDocs::Menu:: Entry[] entries ) -> bool hasSelection
Finds which files have auto-titles that changed and flags their groups for updating with MENU_GROUP_UPDATETITLES and MENU_GROUP_UPDATEORDER.
sub FlagAutoTitleChanges
Returns the Menu Entry Flags.
sub Flags
Returns the footer of the documentation, or undef if none.
sub Footer
Converts the section body to NDMarkup.
sub FormatBody #( commentLines, startingIndex, endingIndex, type, isList )
Translates any inline tags or HTML codes to NDMarkup and returns it.
sub FormatText #( string text, bool inParagraph )
Loads an ImageReferenceString or undef from NaturalDocs::BinaryFile and returns it.
sub FromBinaryFile
Reads a ReferenceString or undef from the passed filehandle.
sub FromBinaryFile #( FileHandle fileHandle, flags binaryFormatFlags, ReferenceType type, flags resolvingFlags )
Loads a SymbolString or undef from the filehandle and returns it.
sub FromBinaryFile #( FileHandle fileHandle )
Retrieves a VersionInt from a binary file.
sub FromBinaryFile #( handle fileHandle ) => VersionInt
Converts a version string to a VersionInt.
sub FromString #( string string ) => VersionInt
Extracts and returns a SymbolString from plain text.
sub FromText #( string textSymbol )
Retrieves a VersionInt from a text file.
sub FromTextFile #( handle fileHandle ) => VersionInt
Returns a VersionInt created from the passed values.
sub FromValues #( int major, int minor, int month, int day, int year ) => VersionInt
Creates titles for the unlocked file entries in all groups that have the MENU_GROUP_UPDATETITLES flag set.
sub GenerateAutoFileTitles #( forceAll )
Generates a report and returns the FileName it’s located at.
sub GenerateCrashReport
Generates names for each of the input and image directories, which can later be retrieved with InputDirectoryNameOf() and ImageDirectoryNameOf().
sub GenerateDirectoryNames #( hashref inputHints, hashref imageHints )
Generates the list of interpretations for the passed reference.
sub GenerateInterpretations #( referenceString )
Generates the list of relative interpretations for the passed reference and packages.
sub GenerateRelativeInterpretations #( referenceString, symbol, singulars, package, score, dontUseFull )
Generates timestampText from timestampCode with the current date.
sub GenerateTimestampText
Advances the position one place through regexp code.
sub GenericRegexpSkip #( indexRef, lineNumberRef, inBrackets )
Advances the position via GenericRegexpSkip() until a specific token is reached and passed.
sub GenericRegexpSkipUntilAfter #( indexRef, lineNumberRef, token )
Advances the position one place through general code.
sub GenericSkip #( indexRef, lineNumberRef )
Advances the position one place through general code.
sub GenericSkip #( indexRef, lineNumberRef )
Advances the position one place through general code.
sub GenericSkip #( indexRef, lineNumberRef, noRegExps )
Advances the position via GenericSkip() until a specific token is reached and passed.
sub GenericSkipUntilAfter #( indexRef, lineNumberRef, token )
Advances the position via GenericSkip() until a specific token is reached and passed.
sub GenericSkipUntilAfter #( indexRef, lineNumberRef, token )
Advances the position via GenericSkip() until a specific token is reached and passed.
sub GenericSkipUntilAfter #( indexRef, lineNumberRef, token, noRegExps, allowStringedClosingParens )
Returns a hashref of all the definitions of this item.
sub GetAllDefinitionsHashRef
Returns a hashref of all the items defined for an extension.
sub GetAllItemsHashRef #( ExtensionID extension ) => hashref
Gets all the supported files in the passed directory and its subdirectories and puts them into supportedFiles.
sub GetAllSupportedFiles
Processes the XML tag at the current position, moves beyond it, and returns information about it.
sub GetAndSkipXMLTag #( indexRef, lineNumberRef )
Reads and returns an AString16 from the open file.
sub GetAString16 # => string
If the extension uses custom NaturalDocs::SourceDB::ItemDefinition classes, returns it for the passed definition or undef if it doesn’t exist.
sub GetDefinition #( ExtensionID extension, string itemString, FileName file ) => NaturalDocs::SourceDB::ItemDefinition or bool
Returns the NaturalDocs::SourceDB::ItemDefinition-derived object for the passed FileName, non-zero if it only tracks existence, or undef if there is no definition.
sub GetDefinition #( FileName file ) => NaturalDocs::SourceDB::ItemDefinition or bool
Returns the NaturalDocs::SourceDB::ItemDefinition-derived object for the passed item string or undef if there is none.
sub GetDefinition #( ExtensionID extension, string itemString ) => NaturalDocs::SourceDB::ItemDefinition
Returns the NaturalDocs::SourceDB::Item-derived object for the passed ExtensionID and item string, or undef if there is none.
sub GetItem #( ExtensionID extension, string itemString ) => bool
Returns the next line containing content, or an empty array if none.
sub GetLine
Finds the sequence of menu groups that contain the current selection.
sub GetMenuSelectionHierarchy #( FileName sourceFile, TopicType indexType ) -> NaturalDocs::Menu::Entry[] selectionHierarchy
Returns the image file the reference resolves to, or undef if none.
sub GetReferenceTarget #( FileName sourceFile, string text ) => FileName
Returns the summary text from the topic body.
sub GetSummaryFromBody #( body )
Returns the summary text from a description list entry.
sub GetSummaryFromDescriptionList #( description )
Reads and returns a UInt16 from the open file.
sub GetUInt16 # => UInt16
Reads and returns a UInt32 from the open file.
sub GetUInt32 # => UInt32
Reads and returns a UInt8 from the open file.
sub GetUInt8 # => UInt8
Returns the FileName that contains the global definition of this symbol, or undef if the symbol isn’t defined.
sub GlobalDefinition
Returns the prototype of the global definition.
sub GlobalPrototype
Returns the summary of the global definition.
sub GlobalSummary
Returns the TopicType of the global definition, or undef if the symbol isn’t defined.
sub GlobalType
Returns an arrayref of NaturalDocs::Menu::Entry objects representing the contents of the group, or undef otherwise.
sub GroupContent
If the type is MENU_GROUP, returns whether the group is empty.
sub GroupIsEmpty