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

function AsJSObject: string;

Returns

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