Skip to main content
Table of Contents

TTMSFNCMemoCustomLanguageRule.AsJSObject Method

Serialises this rule as a Monaco-compatible JavaScript object containing the regex pattern and action.

API unit family: TMSFNCMemoCustomLanguage Declaring type: TTMSFNCMemoCustomLanguageRule

Syntax

FMX.TMSFNCMemoCustomLanguage.hppPascalC++
function AsJSObject: string;
System::UnicodeString __fastcall AsJSObject();

Returns

A JSON object string for inclusion in a tokenizer state rule array.