All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dingyi222666.monarch.languages.LanguageCoffeescript.kt Maven / Gradle / Ivy

package io.github.dingyi222666.monarch.languages

import io.github.dingyi222666.monarch.common.*
 import io.github.dingyi222666.monarch.loader.dsl.*
import io.github.dingyi222666.monarch.types.IMonarchLanguage

public val CoffeescriptLanguage: IMonarchLanguage by lazy {
  buildMonarchLanguage {
    tokenPostfix = ".coffee"
    ignoreCase = true
    defaultToken = ""
    brackets {
      bracket("{","}","delimiter.curly")
      bracket("[","]","delimiter.square")
      bracket("(",")","delimiter.parenthesis")
    }
    "regEx" and "\\/(?!\\/\\/)(?:[^\\/\\\\]|\\\\.)*\\/[igm]*"
    keywords("and", "or", "is", "isnt", "not", "on", "yes", "@", "no", "off", "true", "false",
        "null", "this", "new", "delete", "typeof", "in", "instanceof", "return", "throw", "break",
        "continue", "debugger", "if", "else", "switch", "for", "while", "do", "try", "catch",
        "finally", "class", "extends", "super", "undefined", "then", "unless", "until", "loop",
        "of", "by", "when")
    symbols("[=>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy