[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
String substitution dictionary for variables and functions
Source position: fpmkunit.pp line 573
type TDictionary = class(TComponent) |
||
public |
||
constructor Create(); override; |
|
Creates a new string substitution dictionary |
destructor Destroy; override; |
|
Destroys the dictionary and releases resources |
procedure AddVariable(); |
|
Adds a variable name-value pair to the dictionary |
procedure AddFunction(); |
|
Adds a function replacement callback to the dictionary |
procedure RemoveItem(); |
|
Removes a variable or function from the dictionary |
function GetValue(); |
|
Retrieves substituted value for dictionary entry |
function ReplaceStrings(); virtual; |
|
Performs string substitution using dictionary variables |
function Substitute(); virtual; |
|
Substitutes macros in a string using the dictionary |
end; |
|
String substitution dictionary for variables and functions |
|
| | | ||
| | | ||
| | | ||
TDictionary provides a string substitution system for variable and function expansion.
This class manages both static variable assignments and dynamic function callbacks for resolving configuration values.
The dictionary is used extensively throughout the build system to resolve paths, variables, and configuration parameters.