Skip to content

IExpandedMonarchLanguageRule

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IExpandedMonarchLanguageRule.html

ts
interface IExpandedMonarchLanguageRule {
    action?: IMonarchLanguageAction;
    include?: string;
    regex?: string | RegExp;
}

action

include

  • 类型:string

regex

  • 类型:string | RegExp