Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMonarchLanguage

A Monarch language definition

Hierarchy

  • IMonarchLanguage

Index

Properties

Optional brackets

for example [['{','}','delimiter.curly']]

Optional defaultToken

defaultToken: string

if no match in the tokenizer assign this token class (default 'source')

Optional ignoreCase

ignoreCase: boolean

is the language case insensitive?

Optional includeLF

includeLF: boolean

include line feeds (in the form of a \n character) at the end of lines Defaults to false

Optional start

start: string

start symbol in the tokenizer (by default the first entry is used)

Optional tokenPostfix

tokenPostfix: string

attach this to every token class (by default '.' + name)

tokenizer

tokenizer: {}

map from string to ILanguageRule[]

Type declaration

Optional unicode

unicode: boolean

is the language unicode-aware? (i.e., /\u{1D306}/)

Generated using TypeDoc