Skip to main content
Table of Contents

TTMSFNCMemoCustomLanguage.GetLanguageObject Method

Serialises the complete language grammar as a Monaco-compatible JavaScript object string that can be passed to the editor's language registration API.

API unit family: TMSFNCMemoCustomLanguage Declaring type: TTMSFNCMemoCustomLanguage

Syntax

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

Returns

A JavaScript object literal string containing all brackets, keys, tokenizer states, and configuration flags.