TTMSFNCMemoCustomLanguageCases.Add Method
Appends a new empty case branch to the collection.
API unit family: TMSFNCMemoCustomLanguage
Declaring type: TTMSFNCMemoCustomLanguageCases
Overloads
Overload 1
Appends a new empty case branch to the collection.
function Add: TTMSFNCMemoCustomLanguageCase; overload;
Returns
The newly created TTMSFNCMemoCustomLanguageCase instance.
Overload 2
Appends a new case branch with the specified guard pattern and token to emit on match.
function Add(AGuard: string; AActionToken: string): TTMSFNCMemoCustomLanguageCase; overload;
Parameters
| Name | Description |
|---|---|
AGuard |
Guard expression tested against the matched text. |
AActionToken |
Token name emitted when the guard matches. |
Returns
The newly created TTMSFNCMemoCustomLanguageCase instance.