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
S
sub Save
Saves the class hierarchy to disk.
sub Save
Writes the changes to the menu files.
sub Save
Saves the project file to disk.
sub Save
Saves all settings in configuration files to disk.
sub Save
Saves the symbol table to disk.
SaveMenuFile, NaturalDocs::Menu
sub SaveMenuFile
Saves the current menu to Menu.txt.
SavePreviousMenuStateFile, NaturalDocs::Menu
sub SavePreviousMenuStateFile
Saves changes to PreviousMenuState.nd.
SavePreviousSettings, NaturalDocs::Settings
sub SavePreviousSettings
Saves the settings into PreviousSettings.nd.
SaveSettingsFile, NaturalDocs::Settings
sub SaveSettingsFile
Saves Settings.txt to disk.
sub Scope
Returns what the scope was changed to.
sub Scope
Returns the scope the topic appears in.
ScopeRecord, NaturalDocs::Languages::Advanced
sub ScopeRecord
Returns an arrayref of NaturalDocs::Languages::Advanced::ScopeChange objects describing how and when the scope changed thoughout the file.
ScopeSymbol, NaturalDocs::Languages::Advanced
sub ScopeSymbol
Returns the symbol that ends the current scope level, or undef if we are at the top level.
SeparateMember, NaturalDocs::Languages
sub SeparateMember #(string)
Separates a class from its member.
SetBody, NaturalDocs::Parser::ParsedTopic
sub SetBody #(body)
Replaces the topic’s body, formatted in NDMarkup.
SetClass, NaturalDocs::Parser::ParsedTopic
sub SetClass #(class)
Replaces the topic’s class.
SetCurrentInterpretation, NaturalDocs::SymbolTable::Reference
sub SetCurrentInterpretation #(symbolString)
Changes the current interpretation.
sub SetDefaultMenuTitle #(file,
menuTitle)
Sets the file’s default menu title.
sub SetDefaultMenuTitle #(menuTitle)
Sets the file’s default title on the menu.
SetFlags, NaturalDocs::Menu::Entry
sub SetFlags #(flags)
Replaces the Menu Entry Flags.
sub SetHasContent #(file,
hasContent)
Sets whether the file has Natural Docs content or not.
sub SetHasContent #(hasContent)
Sets whether the file contains Natural Docs content or not.
SetLastModified, NaturalDocs::Project::File
sub SetLastModified #(lastModified)
Sets the file’s last modification timestamp.
SetName, NaturalDocs::Settings::BuildTarget
sub SetName #(name)
Changes the target’s name.
sub SetNamespace #(namespace,
lineNumber)
Sets the namespace for the current scope level.
sub SetNamespace #(namespace)
Sets the namespace of the scope.
sub SetPackage #(package,
lineNumber)
Sets the package or class for the current scope level.
sub SetPackage #(package)
Sets the package or class of the scope.
sub SetProtection #(protection,
lineNumber)
Sets the protection for the current scope level.
sub SetProtection #(protection)
Sets the protection of the scope.
sub SetPrototype #(prototype)
Replaces the function or variable prototype.
sub SetPrototype #(prototype)
Changes the prototype.
sub SetScope #(scope)
Replaces what the scope was changed to.
sub SetScope #(scope)
Replaces the topic’s scope.
SetStatus, NaturalDocs::Project::File
sub SetStatus #(status)
Sets the file’s status since the last build.
SetSummary, NaturalDocs::SymbolTable::SymbolDefinition
sub SetSummary #(summary)
Changes the summary.
SetTarget, NaturalDocs::Menu::Entry
sub SetTarget #(target)
Replaces the entry’s target.
SettingsFile, NaturalDocs::Project
sub SettingsFile
Returns the full path to the project’s settings file.
SetTitle, NaturalDocs::Menu::Entry
sub SetTitle #(title)
Replaces the entry’s title.
SetTokens, NaturalDocs::Languages::Advanced
sub SetTokens #(tokens)
Replaces the tokens.
SetType, NaturalDocs::SymbolTable::SymbolDefinition
sub SetType #(type)
Changes the type.
SharedDirectoriesOf, NaturalDocs::Menu
Returns an array of all the directories shared by the files in the group.
sub ShebangStrings
Returns all the possible strings that can appear in a shebang line (#!)
sub ShebangStrings
Returns an arrayref of the strings that can appear in the language’s shebang string.
sub ShebangStrings
Returns all the possible strings that can appear in a shebang line (#!)
sub ShortenToMatchStrings #(sharedArrayRef,
compareArrayRef)
Compares two arrayrefs and shortens the first array to only contain shared entries.
SkipRestOfLine, NaturalDocs::Languages::Advanced
sub SkipRestOfLine #(indexRef,
lineNumberRef)
Moves the position to the token following the next line break, or past the end of the tokens array if there is none.
SkipRestOfStatement, NaturalDocs::Languages::Perl
sub SkipRestOfStatement #(indexRef,
lineNumberRef)
Advances the position via GenericSkip() until after the end of the current statement, which is defined as a semicolon or a brace group.
SkipUntilAfter, NaturalDocs::Languages::Advanced
sub SkipUntilAfter #(indexRef,
lineNumberRef,
token,
token,
token ...)
Moves the position to the token following the next occurance of a particular token sequence, or past the end of the tokens array if it never occurs.
Sort, NaturalDocs::SymbolTable::IndexElement
sub Sort
Sorts the class and file lists of the symbol.
SplitDirectories, NaturalDocs::File
sub SplitDirectories #(directoryString)
Takes a string of directories and returns an array of its elements.
SplitFromInputDirectory, NaturalDocs::Settings
sub SplitFromInputDirectory #(file)
Takes an input file name and returns the array ( inputDirectory, relativePath ).
SplitPath, NaturalDocs::File
sub SplitPath #(path,
noFile)
Takes a path and returns its elements.
Start, NaturalDocs::Parser::Native
sub Start
This will be called whenever a file is about to be parsed.
StartingParseOf, NaturalDocs::ConfigFile
sub StartingParseOf #(file)
Notifies the package that a new configuration file is about to be parsed.
StartScope, NaturalDocs::Languages::Advanced
sub StartScope #(symbol,
lineNumber,
namespace,
package,
protection)
Records a new scope level.
Status, NaturalDocs::Project::File
sub Status
Returns the status of the file since the last build.
StatusOf, NaturalDocs::Project
sub StatusOf #(file)
Returns the status of the passed file.
sub StringCompare #(a,
b)
Compares two strings so that the result is good for proper sorting.
StringToHTML, NaturalDocs::Builder::HTMLBase
Converts a text string to HTML.
StripClosingSymbol, NaturalDocs::Languages::Base
sub StripClosingSymbol #(lineRef,
symbols)
Determines if the line contains a symbol, and if so, truncates it just before the symbol.
StripOpeningSymbol, NaturalDocs::Languages::Base
sub StripOpeningSymbol #(lineRef,
symbols)
Determines if the line starts with any of the passed symbols, and if so, replaces it with spaces.
Style, NaturalDocs::Settings::BuildTarget
sub Style
Returns the target’s style, CSS if it’s HTML based.
StyleDirectory, NaturalDocs::Settings
sub StyleDirectory
Returns the main style directory.
SubTitle, NaturalDocs::Menu
sub SubTitle
Returns the sub-title of the menu, or undef if none.
sub Summary
Returns the topic summary, if it exists, formatted in NDMarkup.
sub Summary
Returns the summary of the class/symbol/file, if applicable.
sub Summary
Returns the target’s summary, or undef if not defined or not applicable.
sub Summary
Returns the definition’s summary, or undef if it doesn’t have one.
SummaryDefinedIn, NaturalDocs::SymbolTable::Symbol
sub SummaryDefinedIn #(file)
Returns the summary of symbol defined in the passed file, or undef if it doesn’t exist or is not defined in that file.
sub Symbol
Returns the closing symbol of the scope.
sub Symbol
Returns the symbol name if applicable.
sub Symbol
Returns the target’s symbol.
Symbols, NaturalDocs::SymbolTable::File
sub Symbols
Returns an array of all the symbols defined in this file.
SymbolTableFile, NaturalDocs::Project
sub SymbolTableFile
Returns the full path to the symbol table’s data file.
SymbolToHTMLSymbol, NaturalDocs::Builder::HTMLBase
Converts a class and symbol to a HTML symbol, meaning one that is safe to include in anchor and link tags.