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
T
TabLength, NaturalDocs::Settings
sub TabLength
Returns the number of spaces tabs should be expanded to.
TagType, NaturalDocs::Parser::Native
sub TagType #(textBlocks,
index)
Returns whether the tag is a possible opening or closing tag, or neither.
Target, NaturalDocs::Menu::Entry
sub Target
Returns the target of the entry, if applicable.
TextAppVersion, NaturalDocs::Settings
sub TextAppVersion
Returns Natural Docs’ version number as plain text.
sub Title
Returns the title of the menu, or undef if none.
sub Title
Returns the title of the entry.
ToBinaryFile, NaturalDocs::Version
sub ToBinaryFile #(fileHandle,
version)
Writes a version string to a binary file.
TokenizeLine, NaturalDocs::Languages::Advanced
sub TokenizeLine #(line)
Converts the passed line to tokens as described in ParseForCommentsAndTokens and adds them to Tokens().
Tokens, NaturalDocs::Languages::Advanced
sub Tokens
Returns the tokens found by ParseForCommentsAndTokens().
ToolTipsJavaScript, NaturalDocs::Builder::HTMLBase
Returns the JavaScript necessary to show, hide, and position tool tips.
ToString, NaturalDocs::Version
sub ToString #(integer)
Converts a version integer to a string.
ToTextFile, NaturalDocs::Version
sub ToTextFile #(fileHandle,
version)
Writes a version string to a text file.
TryToGetBase, NaturalDocs::Languages::Perl
sub TryToGetBase #(indexRef,
lineNumberRef)
Determines whether the position is at a package base declaration statement, and if so, calls NaturalDocs::Parser->OnParent().
TryToGetFunction, NaturalDocs::Languages::Perl
sub TryToGetFunction #(indexRef,
lineNumberRef)
Determines whether the position is at a function declaration statement, and if so, generates a topic for it, skips it, and returns true.
TryToGetListOfStrings, NaturalDocs::Languages::Perl
sub TryToGetListOfStrings #(indexRef,
lineNumberRef)
Attempts to retrieve a list of strings from the current position.
TryToGetPackage, NaturalDocs::Languages::Perl
sub TryToGetPackage #(indexRef,
lineNumberRef)
Determines whether the position is at a package declaration statement, and if so, generates a topic for it, skips it, and returns true.
TryToGetVariable, NaturalDocs::Languages::Perl
sub TryToGetVariable #(indexRef,
lineNumberRef)
Determines if the position is at a variable declaration statement, and if so, generates a topic for it, skips it, and returns true.
TryToGetVariableName, NaturalDocs::Languages::Perl
sub TryToGetVariableName #(indexRef,
lineNumberRef)
Determines if the position is at a variable name, and if so, skips it and returns the name.
TryToSkipComment, NaturalDocs::Languages::Perl
sub TryToSkipComment #(indexRef,
lineNumberRef)
If the current position is on a comment, skip past it and return true.
TryToSkipLineComment, NaturalDocs::Languages::Perl
sub TryToSkipLineComment #(indexRef,
lineNumberRef)
If the current position is on a line comment symbol, skip past it and return true.
TryToSkipPODComment, NaturalDocs::Languages::Perl
sub TryToSkipPODComment #(indexRef,
lineNumberRef)
If the current position is on a POD comment symbol, skip past it and return true.
TryToSkipRegexp, NaturalDocs::Languages::Perl
sub TryToSkipRegexp #(indexRef,
lineNumberRef)
If the current position is on a regular expression or a quote-like operator, skip past it and return true.
sub TryToSkipString #(indexRef,
lineNumberRef,
openingDelimiter,
closingDelimiter,
startContentIndexRef,
endContentIndexRef)
If the position is on a string delimiter, moves the position to the token following the closing delimiter, or past the end of the tokens if there is none.
sub TryToSkipString #(indexRef,
lineNumberRef,
startContentIndexRef,
endContentIndexRef)
If the current position is on a string delimiter, skip past the string and return true.
TryToSkipWhitespace, NaturalDocs::Languages::Perl
sub TryToSkipWhitespace #(indexRef,
lineNumberRef)
If the current position is on a whitespace or line break token, skip all line breaks and whitespace and return true.
sub Type
Returns the type of the entry.
sub Type
Returns the type of the topic.
sub Type
Returns the type of the class/symbol/file, if applicable.
sub Type
Returns the target’s type.
sub Type
Returns the definition’s type.
TypeDefinedIn, NaturalDocs::SymbolTable::Symbol
sub TypeDefinedIn #(file)
Returns the type of symbol defined in the passed file, or undef if it’s not defined in that file.
U
UnbuiltFilesWithContent, NaturalDocs::Project
sub UnbuiltFilesWithContent
Returns an existence hashref of files that have Natural Docs content but are not part of FilesToBuild().
Unobscure, NaturalDocs::ConfigFile
sub Unobscure #(text)
Restores text encoded with Obscure() and returns it.
UpdateFile, NaturalDocs::Builder::HTML
sub UpdateFile #(sourceFile)
Updates an output file.
UpdateIndex, NaturalDocs::Builder::HTML
sub UpdateIndex #(type)
Updates an index’s output file.
sub UpdateMenu
Define this function to make the package update the menu.
sub UpdateMenu
Builds the menu file.
sub UpdateMenu
Updates the menu in all the output files that weren’t rebuilt.
sub UseDirectory #(directory,
directory,
directory ...)
Does the equivalent of “use [module]” for every .pm file in a directory and all its subdirectories.
V
VariableEnders, NaturalDocs::Languages::Simple
sub VariableEnders
Returns an arrayref of the symbols that end a variable declaration, or undef if not applicable.
W
sub WatchFileForChanges #(file)
Watches a file for changes, which can then be applied by AnalyzeChanges().
sub WatchFileForChanges #(file)
Tracks a file to see if any symbols or references were changed or deleted in ways that would require other files to be rebuilt.
WriteMenuEntries, NaturalDocs::Menu
sub WriteMenuEntries #(entries,
fileHandle,
indentChars)
A recursive function to write the contents of an arrayref of NaturalDocs::Menu::Entry objects to disk.
sub WritePreviousMenuStateEntries #(entries,
fileHandle)
A recursive function to write the contents of an arrayref of NaturalDocs::Menu::Entry objects to disk.
X
sub XChomp #(lineRef)
A cross-platform chomp function.