@shikijs/langs-precompiled 3.2.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abap.mjs +1 -1
- package/dist/actionscript-3.mjs +1 -1
- package/dist/ada.mjs +1 -1
- package/dist/angular-expression.mjs +1 -1
- package/dist/angular-html.mjs +1 -1
- package/dist/angular-inline-style.mjs +1 -1
- package/dist/angular-inline-template.mjs +1 -1
- package/dist/angular-let-declaration.mjs +1 -1
- package/dist/angular-template-blocks.mjs +1 -1
- package/dist/angular-ts.mjs +1 -1
- package/dist/apache.mjs +1 -1
- package/dist/apex.mjs +1 -1
- package/dist/apl.mjs +1 -1
- package/dist/applescript.mjs +1 -1
- package/dist/ara.mjs +1 -1
- package/dist/asciidoc.mjs +1 -1
- package/dist/asm.mjs +1 -1
- package/dist/astro.mjs +1 -1
- package/dist/awk.mjs +1 -1
- package/dist/ballerina.mjs +1 -1
- package/dist/bat.mjs +1 -1
- package/dist/beancount.mjs +1 -1
- package/dist/berry.mjs +1 -1
- package/dist/bibtex.mjs +1 -1
- package/dist/bicep.mjs +1 -1
- package/dist/blade.mjs +1 -1
- package/dist/bsl.mjs +1 -1
- package/dist/c.mjs +1 -1
- package/dist/cadence.mjs +1 -1
- package/dist/cairo.mjs +1 -1
- package/dist/clarity.mjs +1 -1
- package/dist/clojure.mjs +1 -1
- package/dist/cobol.mjs +1 -1
- package/dist/codeql.mjs +1 -1
- package/dist/coffee.mjs +1 -1
- package/dist/common-lisp.mjs +1 -1
- package/dist/coq.mjs +1 -1
- package/dist/cpp-macro.mjs +1 -1
- package/dist/cpp.mjs +1 -1
- package/dist/crystal.mjs +1 -1
- package/dist/csharp.mjs +1 -1
- package/dist/css.mjs +1 -1
- package/dist/cue.mjs +1 -1
- package/dist/cypher.mjs +1 -1
- package/dist/d.mjs +1 -1
- package/dist/dart.mjs +1 -1
- package/dist/dax.mjs +1 -1
- package/dist/desktop.mjs +1 -1
- package/dist/diff.mjs +1 -1
- package/dist/dotenv.mjs +1 -1
- package/dist/dream-maker.mjs +1 -1
- package/dist/edge.mjs +1 -1
- package/dist/elixir.mjs +1 -1
- package/dist/elm.mjs +1 -1
- package/dist/emacs-lisp.mjs +1 -1
- package/dist/erb.mjs +1 -1
- package/dist/erlang.mjs +1 -1
- package/dist/es-tag-css.mjs +1 -1
- package/dist/es-tag-glsl.mjs +1 -1
- package/dist/es-tag-html.mjs +1 -1
- package/dist/es-tag-sql.mjs +1 -1
- package/dist/es-tag-xml.mjs +1 -1
- package/dist/fennel.mjs +1 -1
- package/dist/fish.mjs +1 -1
- package/dist/fluent.mjs +1 -1
- package/dist/fortran-fixed-form.mjs +1 -1
- package/dist/fortran-free-form.mjs +1 -1
- package/dist/fsharp.mjs +1 -1
- package/dist/gdresource.mjs +1 -1
- package/dist/gdscript.mjs +1 -1
- package/dist/gdshader.mjs +1 -1
- package/dist/genie.mjs +1 -1
- package/dist/gherkin.mjs +1 -1
- package/dist/gleam.mjs +1 -1
- package/dist/glimmer-js.mjs +1 -1
- package/dist/glimmer-ts.mjs +1 -1
- package/dist/glsl.mjs +1 -1
- package/dist/gnuplot.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/graphql.mjs +1 -1
- package/dist/groovy.mjs +1 -1
- package/dist/hack.mjs +1 -1
- package/dist/haml.mjs +1 -1
- package/dist/handlebars.mjs +1 -1
- package/dist/haskell.mjs +1 -1
- package/dist/haxe.mjs +1 -1
- package/dist/hcl.mjs +1 -1
- package/dist/hjson.mjs +1 -1
- package/dist/hlsl.mjs +1 -1
- package/dist/html-derivative.mjs +1 -1
- package/dist/html.mjs +1 -1
- package/dist/http.mjs +1 -1
- package/dist/hxml.mjs +1 -1
- package/dist/hy.mjs +1 -1
- package/dist/imba.mjs +1 -1
- package/dist/ini.mjs +1 -1
- package/dist/java.mjs +1 -1
- package/dist/javascript.mjs +1 -1
- package/dist/jinja.mjs +1 -1
- package/dist/jison.mjs +1 -1
- package/dist/json.mjs +1 -1
- package/dist/json5.mjs +1 -1
- package/dist/jsonc.mjs +1 -1
- package/dist/jsonl.mjs +1 -1
- package/dist/jsonnet.mjs +1 -1
- package/dist/jssm.mjs +1 -1
- package/dist/jsx.mjs +1 -1
- package/dist/julia.mjs +1 -1
- package/dist/kotlin.mjs +1 -1
- package/dist/kusto.mjs +1 -1
- package/dist/latex.mjs +1 -1
- package/dist/lean.mjs +1 -1
- package/dist/less.mjs +1 -1
- package/dist/liquid.mjs +1 -1
- package/dist/llvm.mjs +1 -1
- package/dist/log.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/lua.mjs +1 -1
- package/dist/luau.mjs +1 -1
- package/dist/make.mjs +1 -1
- package/dist/markdown-vue.mjs +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/marko.mjs +1 -1
- package/dist/matlab.mjs +1 -1
- package/dist/mdc.mjs +1 -1
- package/dist/mdx.mjs +1 -1
- package/dist/mermaid.mjs +1 -1
- package/dist/mipsasm.mjs +1 -1
- package/dist/mojo.mjs +1 -1
- package/dist/move.mjs +1 -1
- package/dist/narrat.mjs +1 -1
- package/dist/nextflow.mjs +1 -1
- package/dist/nginx.mjs +1 -1
- package/dist/nim.mjs +1 -1
- package/dist/nix.mjs +1 -1
- package/dist/nushell.mjs +1 -1
- package/dist/objective-c.mjs +1 -1
- package/dist/objective-cpp.mjs +1 -1
- package/dist/ocaml.mjs +1 -1
- package/dist/pascal.mjs +1 -1
- package/dist/perl.mjs +1 -1
- package/dist/php.mjs +1 -1
- package/dist/plsql.mjs +1 -1
- package/dist/po.mjs +1 -1
- package/dist/polar.mjs +1 -1
- package/dist/postcss.mjs +1 -1
- package/dist/powerquery.mjs +1 -1
- package/dist/powershell.mjs +1 -1
- package/dist/prisma.mjs +1 -1
- package/dist/prolog.mjs +1 -1
- package/dist/proto.mjs +1 -1
- package/dist/pug.mjs +1 -1
- package/dist/puppet.mjs +1 -1
- package/dist/purescript.mjs +1 -1
- package/dist/python.mjs +1 -1
- package/dist/qml.mjs +1 -1
- package/dist/qss.mjs +1 -1
- package/dist/r.mjs +1 -1
- package/dist/racket.mjs +1 -1
- package/dist/raku.mjs +1 -1
- package/dist/razor.mjs +1 -1
- package/dist/reg.mjs +1 -1
- package/dist/regexp.mjs +1 -1
- package/dist/rel.mjs +1 -1
- package/dist/riscv.mjs +1 -1
- package/dist/rst.mjs +1 -1
- package/dist/ruby.mjs +1 -1
- package/dist/rust.mjs +1 -1
- package/dist/sas.mjs +1 -1
- package/dist/sass.mjs +1 -1
- package/dist/scala.mjs +1 -1
- package/dist/scheme.mjs +1 -1
- package/dist/scss.mjs +1 -1
- package/dist/sdbl.mjs +1 -1
- package/dist/shaderlab.mjs +1 -1
- package/dist/shellscript.mjs +1 -1
- package/dist/shellsession.mjs +1 -1
- package/dist/smalltalk.mjs +1 -1
- package/dist/solidity.mjs +1 -1
- package/dist/soy.mjs +1 -1
- package/dist/sparql.mjs +1 -1
- package/dist/splunk.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/ssh-config.mjs +1 -1
- package/dist/stata.mjs +1 -1
- package/dist/stylus.mjs +1 -1
- package/dist/svelte.mjs +1 -1
- package/dist/system-verilog.mjs +1 -1
- package/dist/systemd.mjs +1 -1
- package/dist/talonscript.mjs +1 -1
- package/dist/tasl.mjs +1 -1
- package/dist/tcl.mjs +1 -1
- package/dist/templ.mjs +1 -1
- package/dist/terraform.mjs +1 -1
- package/dist/tex.mjs +1 -1
- package/dist/toml.mjs +1 -1
- package/dist/tsx.mjs +1 -1
- package/dist/turtle.mjs +1 -1
- package/dist/twig.mjs +1 -1
- package/dist/typescript.mjs +1 -1
- package/dist/typespec.mjs +1 -1
- package/dist/typst.mjs +1 -1
- package/dist/v.mjs +1 -1
- package/dist/vala.mjs +1 -1
- package/dist/vb.mjs +1 -1
- package/dist/verilog.mjs +1 -1
- package/dist/vhdl.mjs +1 -1
- package/dist/viml.mjs +1 -1
- package/dist/vue-html.mjs +1 -1
- package/dist/vue-sfc-style-variable-injection.mjs +1 -1
- package/dist/vue.mjs +3 -3
- package/dist/vyper.mjs +1 -1
- package/dist/wasm.mjs +1 -1
- package/dist/wenyan.mjs +1 -1
- package/dist/wgsl.mjs +1 -1
- package/dist/wikitext.mjs +1 -1
- package/dist/wit.mjs +1 -1
- package/dist/wolfram.mjs +1 -1
- package/dist/xml.mjs +1 -1
- package/dist/xsl.mjs +1 -1
- package/dist/yaml.mjs +1 -1
- package/dist/zenscript.mjs +1 -1
- package/dist/zig.mjs +1 -1
- package/package.json +4 -4
package/dist/coffee.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmulatedRegExp } from 'oniguruma-to-es'
|
|
2
2
|
import javascript from './javascript.mjs'
|
|
3
3
|
|
|
4
|
-
const lang = Object.freeze({displayName:"CoffeeScript",name:"coffee",patterns:[{include:"#jsx"},{captures:{"1":{name:"keyword.operator.new.coffee"},"2":{name:"storage.type.class.coffee"},"3":{name:"entity.name.type.instance.coffee"},"4":{name:"entity.name.type.instance.coffee"}},match:/(new)\p{space}+(?:(class)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+(?:\.[\p{L}\p{M}\p{N}\p{Pc}]*)*)?|([\p{L}\p{M}\p{N}\p{Pc}]+(?:\.[\p{L}\p{M}\p{N}\p{Pc}]*)*))/dgv,name:"meta.class.instance.constructor.coffee"},{begin:/'''/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/'''/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.single.heredoc.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:/(\\)[^\n]/dgv,name:"constant.character.escape.backslash.coffee"}]},{begin:/"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.double.heredoc.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:/(\\)[^\n]/dgv,name:"constant.character.escape.backslash.coffee"},{include:"#interpolated_coffee"}]},{captures:{"1":{name:"punctuation.definition.string.begin.coffee"},"2":{name:"source.js.embedded.coffee",patterns:[{include:"source.js"}]},"3":{name:"punctuation.definition.string.end.coffee"}},match:/(`)([^\n]*)(`)/dgv,name:"string.quoted.script.coffee"},{begin:/(?<!#)###(?!#)/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},end:/###/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},name:"comment.block.coffee",patterns:[{match:/(?<=^|\p{space})@[\p{L}\p{M}\p{N}\p{Pc}]*(?=\p{space})/dgv,name:"storage.type.annotation.coffee"}]},{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},end:/(?=\n?$)/dgv,name:"comment.line.number-sign.coffee"},{begin:/\/\/\//dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/(\/\/\/)[gimuy]*/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.coffee"}},name:"string.regexp.multiline.coffee",patterns:[{include:"#heregexp"}]},{begin:/(?<![\p{L}\p{M}\p{N}\p{Pc}\$])(\/)(?=(?![\/\*\+\?])([^\n]+)(\/)[gimuy]*(?!\p{space}*[\p{L}\p{M}\p{N}\p{Pc}\$\/\(]))/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.coffee"}},end:/(\/)[gimuy]*(?!\p{space}*[\p{L}\p{M}\p{N}\p{Pc}\$\/\(])/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.coffee"}},name:"string.regexp.coffee",patterns:[{include:"source.js.regexp"}]},{match:/\b(?<![\.\$])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\p{space}+own)(?!\p{space}*:)\b/dgv,name:"keyword.control.coffee"},{match:/\b(?<![\.\$])(delete|instanceof|new|typeof)(?!\p{space}*:)\b/dgv,name:"keyword.operator.$1.coffee"},{match:/\b(?<![\.\$])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\p{space}*:)\b/dgv,name:"keyword.reserved.coffee"},{begin:/(?<=\p{space}|^)((@)?[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}\$]*)\p{space}*([\:\=])\p{space}*(?=(\([^\(\)]*\)\p{space}*)?[\=\-]>)/dgv,beginCaptures:{"1":{name:"entity.name.function.coffee"},"2":{name:"variable.other.readwrite.instance.coffee"},"3":{name:"keyword.operator.assignment.coffee"}},end:/[\=\-]>/dgv,endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.coffee",patterns:[{include:"#function_params"}]},{begin:/(?<=\p{space}|^)(?:((')([^']*?)('))|((")([^"]*?)(")))\p{space}*([\:\=])\p{space}*(?=(\([^\(\)]*\)\p{space}*)?[\=\-]>)/dgv,beginCaptures:{"1":{name:"string.quoted.single.coffee"},"2":{name:"punctuation.definition.string.begin.coffee"},"3":{name:"entity.name.function.coffee"},"4":{name:"punctuation.definition.string.end.coffee"},"5":{name:"string.quoted.double.coffee"},"6":{name:"punctuation.definition.string.begin.coffee"},"7":{name:"entity.name.function.coffee"},"8":{name:"punctuation.definition.string.end.coffee"},"9":{name:"keyword.operator.assignment.coffee"}},end:/[\=\-]>/dgv,endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.coffee",patterns:[{include:"#function_params"}]},{begin:/(?=(\([^\(\)]*\)\p{space}*)?[\=\-]>)/dgv,end:/[\=\-]>/dgv,endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.inline.coffee",patterns:[{include:"#function_params"}]},{begin:/(?<=\p{space}|^)(\{)(?=[^'"\#]+?\}[\p{space}\]\}]*=)/dgv,beginCaptures:{"1":{name:"punctuation.definition.destructuring.begin.bracket.curly.coffee"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.destructuring.end.bracket.curly.coffee"}},name:"meta.variable.assignment.destructured.object.coffee",patterns:[{include:"$self"},{match:/[a-zA-Z\$_][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.assignment.coffee"}]},{begin:/(?<=\p{space}|^)(\[)(?=[^'"\#]+?\][\p{space}\]\}]*=)/dgv,beginCaptures:{"1":{name:"punctuation.definition.destructuring.begin.bracket.square.coffee"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.destructuring.end.bracket.square.coffee"}},name:"meta.variable.assignment.destructured.array.coffee",patterns:[{include:"$self"},{match:/[a-zA-Z\$_][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.assignment.coffee"}]},{match:/\b(?<!\.|::)(true|on|yes)(?!\p{space}*[\:\=][^\=])\b/dgv,name:"constant.language.boolean.true.coffee"},{match:/\b(?<!\.|::)(false|off|no)(?!\p{space}*[\:\=][^\=])\b/dgv,name:"constant.language.boolean.false.coffee"},{match:/\b(?<!\.|::)null(?!\p{space}*[\:\=][^\=])\b/dgv,name:"constant.language.null.coffee"},{match:/\b(?<!\.|::)extends(?!\p{space}*[\:\=])\b/dgv,name:"variable.language.coffee"},{match:/(?<!\.)\b(?<!\$)(super|this|arguments)(?!\p{space}*[\:\=][^\=]|\$)\b/dgv,name:"variable.language.$1.coffee"},{captures:{"1":{name:"storage.type.class.coffee"},"2":{name:"keyword.control.inheritance.coffee"},"3":{name:"entity.other.inherited-class.coffee"}},match:/(?<=\p{space}|^|[\[\(])(class)\p{space}+(extends)\p{space}+(@?[a-zA-Z\$\._][\p{L}\p{M}\p{N}\p{Pc}\.]*)/dgv,name:"meta.class.coffee"},{captures:{"1":{name:"storage.type.class.coffee"},"2":{name:"entity.name.type.class.coffee"},"3":{name:"keyword.control.inheritance.coffee"},"4":{name:"entity.other.inherited-class.coffee"}},match:/(?<=\p{space}|^|[\[\(])(class\b)\p{space}+(@?[a-zA-Z\$_][\p{L}\p{M}\p{N}\p{Pc}\.]*)?(?:\p{space}+(extends)\p{space}+(@?[a-zA-Z\$\._][\p{L}\p{M}\p{N}\p{Pc}\.]*))?/dgv,name:"meta.class.coffee"},{match:/\b(debugger|\\)\b/dgv,name:"keyword.other.coffee"},{match:/\b(Array|ArrayBuffer|Blob|Boolean|Date|document|Function|Int(8|16|32|64)Array|Math|Map|Number|Object|Proxy|RegExp|Set|String|WeakMap|window|Uint(8|16|32|64)Array|XMLHttpRequest)\b/dgv,name:"support.class.coffee"},{match:/\b(console)\b/dgv,name:"entity.name.type.object.coffee"},{match:/((?<=console\.)(debug|warn|info|log|error|time|timeEnd|assert))\b/dgv,name:"support.function.console.coffee"},{match:/((?<=\.)(apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|unshift|valueOf))\b/dgv,name:"support.function.method.array.coffee"},{match:/((?<=Array\.)(isArray))\b/dgv,name:"support.function.static.array.coffee"},{match:/((?<=Object\.)(create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|isnt|keys|preventExtensions|seal))\b/dgv,name:"support.function.static.object.coffee"},{match:/((?<=Math\.)(abs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|tan|tanh|trunc))\b/dgv,name:"support.function.static.math.coffee"},{match:/((?<=Number\.)(is(Finite|Integer|NaN)|toInteger))\b/dgv,name:"support.function.static.number.coffee"},{match:/(?<!\.)\b(module|exports|__filename|__dirname|global|process)(?!\p{space}*:)\b/dgv,name:"support.variable.coffee"},{match:/\b(Infinity|NaN|undefined)\b/dgv,name:"constant.language.coffee"},{include:"#operators"},{include:"#method_calls"},{include:"#function_calls"},{include:"#numbers"},{include:"#objects"},{include:"#properties"},{match:/::/dgv,name:"keyword.operator.prototype.coffee"},{match:/(?<!\$)\b[0-9]+[\p{L}\p{M}\p{N}\p{Pc}\$]*/dgv,name:"invalid.illegal.identifier.coffee"},{match:/;/dgv,name:"punctuation.terminator.statement.coffee"},{match:/,/dgv,name:"punctuation.separator.delimiter.coffee"},{begin:/\{/dgv,beginCaptures:{"0":{name:"meta.brace.curly.coffee"}},end:/\}/dgv,endCaptures:{"0":{name:"meta.brace.curly.coffee"}},patterns:[{include:"$self"}]},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.bracket.square.coffee"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.bracket.square.coffee"}},patterns:[{match:/(?<!\.)\.{3}/dgv,name:"keyword.operator.slice.exclusive.coffee"},{match:/(?<!\.)\.{2}/dgv,name:"keyword.operator.slice.inclusive.coffee"},{include:"$self"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"meta.brace.round.coffee"}},end:/\)/dgv,endCaptures:{"0":{name:"meta.brace.round.coffee"}},patterns:[{include:"$self"}]},{include:"#instance_variable"},{include:"#single_quoted_string"},{include:"#double_quoted_string"}],repository:{arguments:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.bracket.round.coffee"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.bracket.round.coffee"}},name:"meta.arguments.coffee",patterns:[{include:"$self"}]},{begin:/(?=(@|@?[\p{L}\p{M}\p{N}\p{Pc}\$]+|[\=\-]>|-\p{Nd}|[\[\{"']))/dgv,end:/(?=\p{space}*(?<![\p{L}\p{M}\p{N}\p{Pc}\$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\p{L}\p{M}\p{N}\p{Pc}\$]))|(?=\p{space}*([\}\]\)\#]|(?=\n?$)))/dgv,name:"meta.arguments.coffee",patterns:[{include:"$self"}]}]},double_quoted_string:{patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.double.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:/(\\)(x\p{AHex}{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|[^\n])/dgv,name:"constant.character.escape.backslash.coffee"},{include:"#interpolated_coffee"}]}]},embedded_comment:{patterns:[{captures:{"1":{name:"punctuation.definition.comment.coffee"}},match:/(?<!\\)(#)[^\n]*(?=\n?$)\n?/dgv,name:"comment.line.number-sign.coffee"}]},function_calls:{patterns:[{begin:/(@)?([\p{L}\p{M}\p{N}\p{Pc}\$]+)(?=\()/dgv,beginCaptures:{"1":{name:"variable.other.readwrite.instance.coffee"},"2":{patterns:[{include:"#function_names"}]}},end:/(?<=\))/dgv,name:"meta.function-call.coffee",patterns:[{include:"#arguments"}]},{begin:/(@)?([\p{L}\p{M}\p{N}\p{Pc}\$]+)\p{space}*(?=\p{space}+(?!(?<![\p{L}\p{M}\p{N}\p{Pc}\$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\p{L}\p{M}\p{N}\p{Pc}\$]))(?=(@?[\p{L}\p{M}\p{N}\p{Pc}\$]+|[\=\-]>|-\p{Nd}|[\[\{"'])))/dgv,beginCaptures:{"1":{name:"variable.other.readwrite.instance.coffee"},"2":{patterns:[{include:"#function_names"}]}},end:/(?=\p{space}*(?<![\p{L}\p{M}\p{N}\p{Pc}\$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\p{L}\p{M}\p{N}\p{Pc}\$]))|(?=\p{space}*([\}\]\)\#]|(?=\n?$)))/dgv,name:"meta.function-call.coffee",patterns:[{include:"#arguments"}]}]},function_names:{patterns:[{match:/\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|unescape|require|set(Interval|Timeout)|clear(Interval|Timeout))\b/dgv,name:"support.function.coffee"},{match:/[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}\$]*/dgv,name:"entity.name.function.coffee"},{match:/\p{Nd}[\p{L}\p{M}\p{N}\p{Pc}\$]*/dgv,name:"invalid.illegal.identifier.coffee"}]},function_params:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.parameters.begin.bracket.round.coffee"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.coffee"}},name:"meta.parameters.coffee",patterns:[{captures:{"1":{name:"variable.parameter.function.coffee"},"2":{name:"keyword.operator.splat.coffee"}},match:/([a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}\$]*)(\.\.\.)?/dgv},{captures:{"1":{name:"variable.parameter.function.readwrite.instance.coffee"},"2":{name:"keyword.operator.splat.coffee"}},match:/(@(?:[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}\$]*)?)(\.\.\.)?/dgv},{include:"$self"}]}]},heregexp:{patterns:[{match:/\\[bB]|[\^\$]/dgv,name:"keyword.control.anchor.regexp"},{match:/\\[1-9]\p{Nd}*/dgv,name:"keyword.other.back-reference.regexp"},{match:/[\?\+\*]|\{(\p{Nd}+,\p{Nd}+|\p{Nd}+,|,\p{Nd}+|\p{Nd}+)\}\??/dgv,name:"keyword.operator.quantifier.regexp"},{match:/\|/dgv,name:"keyword.operator.or.regexp"},{begin:/(\()((\?=)|(\?!))/dgv,beginCaptures:{"1":{name:"punctuation.definition.group.regexp"},"3":{name:"meta.assertion.look-ahead.regexp"},"4":{name:"meta.assertion.negative-look-ahead.regexp"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.group.regexp"}},name:"meta.group.assertion.regexp",patterns:[{include:"#heregexp"}]},{begin:/\((\?:)?/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.regexp"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.regexp"}},name:"meta.group.regexp",patterns:[{include:"#heregexp"}]},{begin:/(\[)(\^)?/dgv,beginCaptures:{"1":{name:"punctuation.definition.character-class.regexp"},"2":{name:"keyword.operator.negation.regexp"}},end:/(\])/dgv,endCaptures:{"1":{name:"punctuation.definition.character-class.regexp"}},name:"constant.other.character-class.set.regexp",patterns:[{captures:{"1":{name:"constant.character.numeric.regexp"},"2":{name:"constant.character.control.regexp"},"3":{name:"constant.character.escape.backslash.regexp"},"4":{name:"constant.character.numeric.regexp"},"5":{name:"constant.character.control.regexp"},"6":{name:"constant.character.escape.backslash.regexp"}},match:/(?:[^\n]|(\\(?:[0-7]{3}|x\p{AHex}{2}|u\p{AHex}{4}))|(\\c[A-Z])|(\\[^\n]))-(?:[^\]\\]|(\\(?:[0-7]{3}|x\p{AHex}{2}|u\p{AHex}{4}))|(\\c[A-Z])|(\\[^\n]))/dgv,name:"constant.other.character-class.range.regexp"},{include:"#regex-character-class"}]},{include:"#regex-character-class"},{include:"#interpolated_coffee"},{include:"#embedded_comment"}]},instance_variable:{patterns:[{match:/(@)([a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}]*)?/dgv,name:"variable.other.readwrite.instance.coffee"}]},interpolated_coffee:{patterns:[{begin:/#\{/dgv,captures:{"0":{name:"punctuation.section.embedded.coffee"}},end:/\}/dgv,name:"source.coffee.embedded.source",patterns:[{include:"$self"}]}]},jsx:{patterns:[{include:"#jsx-tag"},{include:"#jsx-end-tag"}]},"jsx-attribute":{patterns:[{captures:{"1":{name:"entity.other.attribute-name.coffee"},"2":{name:"keyword.operator.assignment.coffee"}},match:/(?:^|\p{space}+)([\-\p{L}\p{M}\p{N}\p{Pc}\.]+)\p{space}*(=)/dgv},{include:"#double_quoted_string"},{include:"#single_quoted_string"},{include:"#jsx-expression"}]},"jsx-end-tag":{patterns:[{begin:/(<\/)([\-\p{L}\p{M}\p{N}\p{Pc}\.]+)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.coffee"},"2":{name:"entity.name.tag.coffee"}},end:/(\/?>)/dgv,name:"meta.tag.coffee"}]},"jsx-expression":{begin:/\{/dgv,beginCaptures:{"0":{name:"meta.brace.curly.coffee"}},end:/\}/dgv,endCaptures:{"0":{name:"meta.brace.curly.coffee"}},patterns:[{include:"#double_quoted_string"},{include:"$self"}]},"jsx-tag":{patterns:[{begin:/(<)([\-\p{L}\p{M}\p{N}\p{Pc}\.]+)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.coffee"},"2":{name:"entity.name.tag.coffee"}},end:/(\/?>)/dgv,name:"meta.tag.coffee",patterns:[{include:"#jsx-attribute"}]}]},method_calls:{patterns:[{begin:/(?:(\.)|(::))\p{space}*([\p{L}\p{M}\p{N}\p{Pc}\$]+)\p{space}*(?=\()/dgv,beginCaptures:{"1":{name:"punctuation.separator.method.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{patterns:[{include:"#method_names"}]}},end:/(?<=\))/dgv,name:"meta.method-call.coffee",patterns:[{include:"#arguments"}]},{begin:/(?:(\.)|(::))\p{space}*([\p{L}\p{M}\p{N}\p{Pc}\$]+)\p{space}*(?=\p{space}+(?!(?<![\p{L}\p{M}\p{N}\p{Pc}\$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\p{L}\p{M}\p{N}\p{Pc}\$]))(?=(@|@?[\p{L}\p{M}\p{N}\p{Pc}\$]+|[\=\-]>|-\p{Nd}|[\[\{"'])))/dgv,beginCaptures:{"1":{name:"punctuation.separator.method.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{patterns:[{include:"#method_names"}]}},end:/(?=\p{space}*(?<![\p{L}\p{M}\p{N}\p{Pc}\$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\p{L}\p{M}\p{N}\p{Pc}\$]))|(?=\p{space}*([\}\]\)\#]|(?=\n?$)))/dgv,name:"meta.method-call.coffee",patterns:[{include:"#arguments"}]}]},method_names:{patterns:[{match:/\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|Readystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|Before(cut|deactivate|unload|update|paste|print|editfocus|activate)|Blur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|Change|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|Datasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|Dragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|Errorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\b/dgv,name:"support.function.event-handler.coffee"},{match:/\b(shift|showModelessDialog|showModalDialog|showHelp|scroll|scrollX|scrollByPages|scrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|sup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours|Month|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|Time|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|savePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|contextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|createEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|test|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|untaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins[^\n]refresh|paddings|parse|print|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|fileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|forward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|abort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|releaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|Time|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|Attention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|moveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\b/dgv,name:"support.function.coffee"},{match:/*@__PURE__*/ new EmulatedRegExp("\\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|appendChild|appendData|before|blur|canPlayType|captureStream|caretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|cloneContents|cloneNode|cloneRange|close|closest|collapse|compareBoundaryPoints|compareDocumentPosition|comparePoint|contains|convertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|createAttributeNS|createCaption|createCDATASection|createComment|createContextualFragment|createDocument|createDocumentFragment|createDocumentType|createElement|createElementNS|createEntityReference|createEvent|createExpression|createHTMLDocument|createNodeIterator|createNSResolver|createProcessingInstruction|createRange|createShadowRoot|createTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|deleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|deleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|enableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|exitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|getAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|getAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|getClientRects|getContext|getDestinationInsertionPoints|getElementById|getElementsByClassName|getElementsByName|getElementsByTagName|getElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|getVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|insertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|isPointInRange|isSameNode|item|key|keys|lastChild|load|lookupNamespaceURI|lookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|moveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|parentNode|pause|play|postMessage|prepend|preventDefault|previousNode|previousSibling|probablySupportsContext|queryCommandEnabled|queryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|querySelector|querySelectorAll|registerContentHandler|registerElement|registerProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|removeAttributeNode|removeAttributeNS|removeChild|removeEventListener|removeItem|replace|replaceChild|replaceData|replaceWith|reportValidity|requestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|scrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|setAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|setCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|setRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|slice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|submit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|toDataURL|toggle|toString|values|write|writeln)\\b","dgv",{"lazyCompile":true}),name:"support.function.dom.coffee"},{match:/[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}\$]*/dgv,name:"entity.name.function.coffee"},{match:/\p{Nd}[\p{L}\p{M}\p{N}\p{Pc}\$]*/dgv,name:"invalid.illegal.identifier.coffee"}]},numbers:{patterns:[{match:/\b(?<!\$)0([xX])\p{AHex}+\b(?!\$)/dgv,name:"constant.numeric.hex.coffee"},{match:/\b(?<!\$)0([bB])[01]+\b(?!\$)/dgv,name:"constant.numeric.binary.coffee"},{match:/\b(?<!\$)0([oO])?[0-7]+\b(?!\$)/dgv,name:"constant.numeric.octal.coffee"},{captures:{"0":{name:"constant.numeric.decimal.coffee"},"1":{name:"punctuation.separator.decimal.period.coffee"},"2":{name:"punctuation.separator.decimal.period.coffee"},"3":{name:"punctuation.separator.decimal.period.coffee"},"4":{name:"punctuation.separator.decimal.period.coffee"},"5":{name:"punctuation.separator.decimal.period.coffee"},"6":{name:"punctuation.separator.decimal.period.coffee"}},match:/(?<!\$)(?:\b[0-9]+(\.)[0-9]+[eE][\+\-]?[0-9]+\b|\b[0-9]+(\.)[eE][\+\-]?[0-9]+\b|\B(\.)[0-9]+[eE][\+\-]?[0-9]+\b|\b[0-9]+[eE][\+\-]?[0-9]+\b|\b[0-9]+(\.)[0-9]+\b|\b[0-9]+(?=\.{2,3})|\b[0-9]+(\.)\B|\B(\.)[0-9]+\b|\b[0-9]+\b(?!\.))(?!\$)/dgv}]},objects:{patterns:[{match:/[A-Z][A-Z0-9_\$]*(?=\p{space}*\??(\.\p{space}*[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}]*|::))/dgv,name:"constant.other.object.coffee"},{match:/[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}\$]*(?=\p{space}*\??(\.\p{space}*[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}]*|::))/dgv,name:"variable.other.object.coffee"}]},operators:{patterns:[{captures:{"1":{name:"variable.assignment.coffee"},"2":{name:"keyword.operator.assignment.compound.coffee"}},match:/(?:([a-zA-Z\$_][\p{L}\p{M}\p{N}\p{Pc}\$]*)?\p{space}+|(?<![\p{L}\p{M}\p{N}\p{Pc}\$]))(and=|or=)/dgv},{captures:{"1":{name:"variable.assignment.coffee"},"2":{name:"keyword.operator.assignment.compound.coffee"}},match:/([a-zA-Z\$_][\p{L}\p{M}\p{N}\p{Pc}\$]*)?\p{space}*(%=|\+=|-=|\*=|&&=|\|\|=|\?=|(?<!\()\/=)/dgv},{captures:{"1":{name:"variable.assignment.coffee"},"2":{name:"keyword.operator.assignment.compound.bitwise.coffee"}},match:/([a-zA-Z\$_][\p{L}\p{M}\p{N}\p{Pc}\$]*)?\p{space}*(&=|\^=|<<=|>>=|>>>=|\|=)/dgv},{match:/<<|>>>|>>/dgv,name:"keyword.operator.bitwise.shift.coffee"},{match:/!=|<=|>=|==|[\<\>]/dgv,name:"keyword.operator.comparison.coffee"},{match:/&&|!|\|\|/dgv,name:"keyword.operator.logical.coffee"},{match:/[\&\|\^\~]/dgv,name:"keyword.operator.bitwise.coffee"},{captures:{"1":{name:"variable.assignment.coffee"},"2":{name:"keyword.operator.assignment.coffee"}},match:/([a-zA-Z\$_][\p{L}\p{M}\p{N}\p{Pc}\$]*)?\p{space}*(=|:(?!:))(?![\>\=])/dgv},{match:/--/dgv,name:"keyword.operator.decrement.coffee"},{match:/\+\+/dgv,name:"keyword.operator.increment.coffee"},{match:/\.\.\./dgv,name:"keyword.operator.splat.coffee"},{match:/\?/dgv,name:"keyword.operator.existential.coffee"},{match:/[\%\*\/\-\+]/dgv,name:"keyword.operator.coffee"},{captures:{"1":{name:"keyword.operator.logical.coffee"},"2":{name:"keyword.operator.comparison.coffee"}},match:/\b(?<![\.\$])(?:(and|or|not)|(is(?:|nt)))(?!\p{space}*:)\b/dgv}]},properties:{patterns:[{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"constant.other.object.property.coffee"}},match:/(?:(\.)|(::))\p{space}*([A-Z][A-Z0-9_\$]*\b\$*)(?=\p{space}*\??(\.\p{space}*[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}]*|::))/dgv},{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"variable.other.object.property.coffee"}},match:/(?:(\.)|(::))\p{space}*(\$*[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}\$]*)(?=\p{space}*\??(\.\p{space}*[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}]*|::))/dgv},{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"constant.other.property.coffee"}},match:/(?:(\.)|(::))\p{space}*([A-Z][A-Z0-9_\$]*\b\$*)/dgv},{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"variable.other.property.coffee"}},match:/(?:(\.)|(::))\p{space}*(\$*[a-zA-Z_\$][\p{L}\p{M}\p{N}\p{Pc}\$]*)/dgv},{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"invalid.illegal.identifier.coffee"}},match:/(?:(\.)|(::))\p{space}*([0-9][\p{L}\p{M}\p{N}\p{Pc}\$]*)/dgv}]},"regex-character-class":{patterns:[{match:/\\[wWsSdD]|\./dgv,name:"constant.character.character-class.regexp"},{match:/\\([0-7]{3}|x\p{AHex}{2}|u\p{AHex}{4})/dgv,name:"constant.character.numeric.regexp"},{match:/\\c[A-Z]/dgv,name:"constant.character.control.regexp"},{match:/\\[^\n]/dgv,name:"constant.character.escape.backslash.regexp"}]},single_quoted_string:{patterns:[{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.single.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:/(\\)(x\p{AHex}{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|[^\n])/dgv,name:"constant.character.escape.backslash.coffee"}]}]}},scopeName:"source.coffee",embeddedLangs:["javascript"],aliases:["coffeescript"]})
|
|
4
|
+
const lang = Object.freeze({displayName:"CoffeeScript",name:"coffee",patterns:[{include:"#jsx"},{captures:{"1":{name:"keyword.operator.new.coffee"},"2":{name:"storage.type.class.coffee"},"3":{name:"entity.name.type.instance.coffee"},"4":{name:"entity.name.type.instance.coffee"}},match:/(new)\p{space}+(?:(class)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+(?:\.[\p{L}\p{M}\p{N}\p{Pc}]*)*)?|([\p{L}\p{M}\p{N}\p{Pc}]+(?:\.[\p{L}\p{M}\p{N}\p{Pc}]*)*))/dgv,name:"meta.class.instance.constructor.coffee"},{begin:/'''/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/'''/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.single.heredoc.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:/(\\)[^\n]/dgv,name:"constant.character.escape.backslash.coffee"}]},{begin:/"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.double.heredoc.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:/(\\)[^\n]/dgv,name:"constant.character.escape.backslash.coffee"},{include:"#interpolated_coffee"}]},{captures:{"1":{name:"punctuation.definition.string.begin.coffee"},"2":{name:"source.js.embedded.coffee",patterns:[{include:"source.js"}]},"3":{name:"punctuation.definition.string.end.coffee"}},match:/(`)([^\n]*)(`)/dgv,name:"string.quoted.script.coffee"},{begin:/(?<!#)###(?!#)/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},end:/###/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},name:"comment.block.coffee",patterns:[{match:/(?<=^|\p{space})@[\p{L}\p{M}\p{N}\p{Pc}]*(?=\p{space})/dgv,name:"storage.type.annotation.coffee"}]},{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},end:/(?=\n?$)/dgv,name:"comment.line.number-sign.coffee"},{begin:/\/\/\//dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/(\/\/\/)[gimuy]*/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.coffee"}},name:"string.regexp.multiline.coffee",patterns:[{include:"#heregexp"}]},{begin:/(?<![\$\p{L}\p{M}\p{N}\p{Pc}])(\/)(?=(?![\*\+\/\?])([^\n]+)(\/)[gimuy]*(?!\p{space}*[\$\(\/\p{L}\p{M}\p{N}\p{Pc}]))/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.coffee"}},end:/(\/)[gimuy]*(?!\p{space}*[\$\(\/\p{L}\p{M}\p{N}\p{Pc}])/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.coffee"}},name:"string.regexp.coffee",patterns:[{include:"source.js.regexp"}]},{match:/\b(?<![\$\.])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\p{space}+own)(?!\p{space}*:)\b/dgv,name:"keyword.control.coffee"},{match:/\b(?<![\$\.])(delete|instanceof|new|typeof)(?!\p{space}*:)\b/dgv,name:"keyword.operator.$1.coffee"},{match:/\b(?<![\$\.])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\p{space}*:)\b/dgv,name:"keyword.reserved.coffee"},{begin:/(?<=\p{space}|^)((@)?[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*([\:\=])\p{space}*(?=(\([^\(\)]*\)\p{space}*)?[\-\=]>)/dgv,beginCaptures:{"1":{name:"entity.name.function.coffee"},"2":{name:"variable.other.readwrite.instance.coffee"},"3":{name:"keyword.operator.assignment.coffee"}},end:/[\-\=]>/dgv,endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.coffee",patterns:[{include:"#function_params"}]},{begin:/(?<=\p{space}|^)(?:((')([^']*?)('))|((")([^"]*?)(")))\p{space}*([\:\=])\p{space}*(?=(\([^\(\)]*\)\p{space}*)?[\-\=]>)/dgv,beginCaptures:{"1":{name:"string.quoted.single.coffee"},"2":{name:"punctuation.definition.string.begin.coffee"},"3":{name:"entity.name.function.coffee"},"4":{name:"punctuation.definition.string.end.coffee"},"5":{name:"string.quoted.double.coffee"},"6":{name:"punctuation.definition.string.begin.coffee"},"7":{name:"entity.name.function.coffee"},"8":{name:"punctuation.definition.string.end.coffee"},"9":{name:"keyword.operator.assignment.coffee"}},end:/[\-\=]>/dgv,endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.coffee",patterns:[{include:"#function_params"}]},{begin:/(?=(\([^\(\)]*\)\p{space}*)?[\-\=]>)/dgv,end:/[\-\=]>/dgv,endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.inline.coffee",patterns:[{include:"#function_params"}]},{begin:/(?<=\p{space}|^)(\{)(?=[^"\#']+?\}[\]\}\p{space}]*=)/dgv,beginCaptures:{"1":{name:"punctuation.definition.destructuring.begin.bracket.curly.coffee"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.destructuring.end.bracket.curly.coffee"}},name:"meta.variable.assignment.destructured.object.coffee",patterns:[{include:"$self"},{match:/[\$A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.assignment.coffee"}]},{begin:/(?<=\p{space}|^)(\[)(?=[^"\#']+?\][\]\}\p{space}]*=)/dgv,beginCaptures:{"1":{name:"punctuation.definition.destructuring.begin.bracket.square.coffee"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.destructuring.end.bracket.square.coffee"}},name:"meta.variable.assignment.destructured.array.coffee",patterns:[{include:"$self"},{match:/[\$A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.assignment.coffee"}]},{match:/\b(?<!\.|::)(true|on|yes)(?!\p{space}*[\:\=][^\=])\b/dgv,name:"constant.language.boolean.true.coffee"},{match:/\b(?<!\.|::)(false|off|no)(?!\p{space}*[\:\=][^\=])\b/dgv,name:"constant.language.boolean.false.coffee"},{match:/\b(?<!\.|::)null(?!\p{space}*[\:\=][^\=])\b/dgv,name:"constant.language.null.coffee"},{match:/\b(?<!\.|::)extends(?!\p{space}*[\:\=])\b/dgv,name:"variable.language.coffee"},{match:/(?<!\.)\b(?<!\$)(super|this|arguments)(?!\p{space}*[\:\=][^\=]|\$)\b/dgv,name:"variable.language.$1.coffee"},{captures:{"1":{name:"storage.type.class.coffee"},"2":{name:"keyword.control.inheritance.coffee"},"3":{name:"entity.other.inherited-class.coffee"}},match:/(?<=\p{space}|^|[\(\[])(class)\p{space}+(extends)\p{space}+(@?[\$\.A-Z_a-z][\.\p{L}\p{M}\p{N}\p{Pc}]*)/dgv,name:"meta.class.coffee"},{captures:{"1":{name:"storage.type.class.coffee"},"2":{name:"entity.name.type.class.coffee"},"3":{name:"keyword.control.inheritance.coffee"},"4":{name:"entity.other.inherited-class.coffee"}},match:/(?<=\p{space}|^|[\(\[])(class)\b\p{space}+(@?[\$A-Z_a-z][\.\p{L}\p{M}\p{N}\p{Pc}]*)?(?:\p{space}+(extends)\p{space}+(@?[\$\.A-Z_a-z][\.\p{L}\p{M}\p{N}\p{Pc}]*))?/dgv,name:"meta.class.coffee"},{match:/\b(debugger|\\)\b/dgv,name:"keyword.other.coffee"},{match:/\b(Array|ArrayBuffer|Blob|Boolean|Date|document|Function|Int(8|16|32|64)Array|Math|Map|Number|Object|Proxy|RegExp|Set|String|WeakMap|window|Uint(8|16|32|64)Array|XMLHttpRequest)\b/dgv,name:"support.class.coffee"},{match:/\b(console)\b/dgv,name:"entity.name.type.object.coffee"},{match:/((?<=console\.)(debug|warn|info|log|error|time|timeEnd|assert))\b/dgv,name:"support.function.console.coffee"},{match:/((?<=\.)(apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|unshift|valueOf))\b/dgv,name:"support.function.method.array.coffee"},{match:/((?<=Array\.)(isArray))\b/dgv,name:"support.function.static.array.coffee"},{match:/((?<=Object\.)(create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|isnt|keys|preventExtensions|seal))\b/dgv,name:"support.function.static.object.coffee"},{match:/((?<=Math\.)(abs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|tan|tanh|trunc))\b/dgv,name:"support.function.static.math.coffee"},{match:/((?<=Number\.)(is(Finite|Integer|NaN)|toInteger))\b/dgv,name:"support.function.static.number.coffee"},{match:/(?<!\.)\b(module|exports|__filename|__dirname|global|process)(?!\p{space}*:)\b/dgv,name:"support.variable.coffee"},{match:/\b(Infinity|NaN|undefined)\b/dgv,name:"constant.language.coffee"},{include:"#operators"},{include:"#method_calls"},{include:"#function_calls"},{include:"#numbers"},{include:"#objects"},{include:"#properties"},{match:/::/dgv,name:"keyword.operator.prototype.coffee"},{match:/(?<!\$)\b[0-9]+[\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"invalid.illegal.identifier.coffee"},{match:/;/dgv,name:"punctuation.terminator.statement.coffee"},{match:/,/dgv,name:"punctuation.separator.delimiter.coffee"},{begin:/\{/dgv,beginCaptures:{"0":{name:"meta.brace.curly.coffee"}},end:/\}/dgv,endCaptures:{"0":{name:"meta.brace.curly.coffee"}},patterns:[{include:"$self"}]},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.bracket.square.coffee"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.bracket.square.coffee"}},patterns:[{match:/(?<!\.)\.{3}/dgv,name:"keyword.operator.slice.exclusive.coffee"},{match:/(?<!\.)\.{2}/dgv,name:"keyword.operator.slice.inclusive.coffee"},{include:"$self"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"meta.brace.round.coffee"}},end:/\)/dgv,endCaptures:{"0":{name:"meta.brace.round.coffee"}},patterns:[{include:"$self"}]},{include:"#instance_variable"},{include:"#single_quoted_string"},{include:"#double_quoted_string"}],repository:{arguments:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.bracket.round.coffee"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.bracket.round.coffee"}},name:"meta.arguments.coffee",patterns:[{include:"$self"}]},{begin:/(?=(@|@?[\$\p{L}\p{M}\p{N}\p{Pc}]+|[\-\=]>|-\p{Nd}|["'\[\{]))/dgv,end:/(?=\p{space}*(?<![\$\p{L}\p{M}\p{N}\p{Pc}])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\$\p{L}\p{M}\p{N}\p{Pc}]))|(?=\p{space}*([\]\#\)\}]|(?=\n?$)))/dgv,name:"meta.arguments.coffee",patterns:[{include:"$self"}]}]},double_quoted_string:{patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.double.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:/(\\)(x\p{AHex}{2}|[012][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|[^\n])/dgv,name:"constant.character.escape.backslash.coffee"},{include:"#interpolated_coffee"}]}]},embedded_comment:{patterns:[{captures:{"1":{name:"punctuation.definition.comment.coffee"}},match:/(?<!\\)(#)[^\n]*(?=\n?$)\n?/dgv,name:"comment.line.number-sign.coffee"}]},function_calls:{patterns:[{begin:/(@)?([\$\p{L}\p{M}\p{N}\p{Pc}]+)(?=\()/dgv,beginCaptures:{"1":{name:"variable.other.readwrite.instance.coffee"},"2":{patterns:[{include:"#function_names"}]}},end:/(?<=\))/dgv,name:"meta.function-call.coffee",patterns:[{include:"#arguments"}]},{begin:/(@)?([\$\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\p{space}+(?!(?<![\$\p{L}\p{M}\p{N}\p{Pc}])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\$\p{L}\p{M}\p{N}\p{Pc}]))(?=(@?[\$\p{L}\p{M}\p{N}\p{Pc}]+|[\-\=]>|-\p{Nd}|["'\[\{])))/dgv,beginCaptures:{"1":{name:"variable.other.readwrite.instance.coffee"},"2":{patterns:[{include:"#function_names"}]}},end:/(?=\p{space}*(?<![\$\p{L}\p{M}\p{N}\p{Pc}])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\$\p{L}\p{M}\p{N}\p{Pc}]))|(?=\p{space}*([\]\#\)\}]|(?=\n?$)))/dgv,name:"meta.function-call.coffee",patterns:[{include:"#arguments"}]}]},function_names:{patterns:[{match:/\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|unescape|require|set(Interval|Timeout)|clear(Interval|Timeout))\b/dgv,name:"support.function.coffee"},{match:/[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.name.function.coffee"},{match:/\p{Nd}[\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"invalid.illegal.identifier.coffee"}]},function_params:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.parameters.begin.bracket.round.coffee"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.coffee"}},name:"meta.parameters.coffee",patterns:[{captures:{"1":{name:"variable.parameter.function.coffee"},"2":{name:"keyword.operator.splat.coffee"}},match:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)(\.\.\.)?/dgv},{captures:{"1":{name:"variable.parameter.function.readwrite.instance.coffee"},"2":{name:"keyword.operator.splat.coffee"}},match:/(@(?:[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)?)(\.\.\.)?/dgv},{include:"$self"}]}]},heregexp:{patterns:[{match:/\\[Bb]|[\$\^]/dgv,name:"keyword.control.anchor.regexp"},{match:/\\[1-9]\p{Nd}*/dgv,name:"keyword.other.back-reference.regexp"},{match:/[\*\+\?]|\{(\p{Nd}+,\p{Nd}+|\p{Nd}+,|,\p{Nd}+|\p{Nd}+)\}\??/dgv,name:"keyword.operator.quantifier.regexp"},{match:/\|/dgv,name:"keyword.operator.or.regexp"},{begin:/(\()((\?=)|(\?!))/dgv,beginCaptures:{"1":{name:"punctuation.definition.group.regexp"},"3":{name:"meta.assertion.look-ahead.regexp"},"4":{name:"meta.assertion.negative-look-ahead.regexp"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.group.regexp"}},name:"meta.group.assertion.regexp",patterns:[{include:"#heregexp"}]},{begin:/\((\?:)?/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.regexp"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.regexp"}},name:"meta.group.regexp",patterns:[{include:"#heregexp"}]},{begin:/(\[)(\^)?/dgv,beginCaptures:{"1":{name:"punctuation.definition.character-class.regexp"},"2":{name:"keyword.operator.negation.regexp"}},end:/(\])/dgv,endCaptures:{"1":{name:"punctuation.definition.character-class.regexp"}},name:"constant.other.character-class.set.regexp",patterns:[{captures:{"1":{name:"constant.character.numeric.regexp"},"2":{name:"constant.character.control.regexp"},"3":{name:"constant.character.escape.backslash.regexp"},"4":{name:"constant.character.numeric.regexp"},"5":{name:"constant.character.control.regexp"},"6":{name:"constant.character.escape.backslash.regexp"}},match:/(?:[^\n]|(\\(?:[0-7]{3}|x\p{AHex}{2}|u\p{AHex}{4}))|(\\c[A-Z])|(\\[^\n]))-(?:[^\]\\]|(\\(?:[0-7]{3}|x\p{AHex}{2}|u\p{AHex}{4}))|(\\c[A-Z])|(\\[^\n]))/dgv,name:"constant.other.character-class.range.regexp"},{include:"#regex-character-class"}]},{include:"#regex-character-class"},{include:"#interpolated_coffee"},{include:"#embedded_comment"}]},instance_variable:{patterns:[{match:/(@)([\$A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*)?/dgv,name:"variable.other.readwrite.instance.coffee"}]},interpolated_coffee:{patterns:[{begin:/#\{/dgv,captures:{"0":{name:"punctuation.section.embedded.coffee"}},end:/\}/dgv,name:"source.coffee.embedded.source",patterns:[{include:"$self"}]}]},jsx:{patterns:[{include:"#jsx-tag"},{include:"#jsx-end-tag"}]},"jsx-attribute":{patterns:[{captures:{"1":{name:"entity.other.attribute-name.coffee"},"2":{name:"keyword.operator.assignment.coffee"}},match:/(?:^|\p{space}+)([\-\.\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(=)/dgv},{include:"#double_quoted_string"},{include:"#single_quoted_string"},{include:"#jsx-expression"}]},"jsx-end-tag":{patterns:[{begin:/(<\/)([\-\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.coffee"},"2":{name:"entity.name.tag.coffee"}},end:/(\/?>)/dgv,name:"meta.tag.coffee"}]},"jsx-expression":{begin:/\{/dgv,beginCaptures:{"0":{name:"meta.brace.curly.coffee"}},end:/\}/dgv,endCaptures:{"0":{name:"meta.brace.curly.coffee"}},patterns:[{include:"#double_quoted_string"},{include:"$self"}]},"jsx-tag":{patterns:[{begin:/(<)([\-\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.coffee"},"2":{name:"entity.name.tag.coffee"}},end:/(\/?>)/dgv,name:"meta.tag.coffee",patterns:[{include:"#jsx-attribute"}]}]},method_calls:{patterns:[{begin:/(?:(\.)|(::))\p{space}*([\$\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\()/dgv,beginCaptures:{"1":{name:"punctuation.separator.method.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{patterns:[{include:"#method_names"}]}},end:/(?<=\))/dgv,name:"meta.method-call.coffee",patterns:[{include:"#arguments"}]},{begin:/(?:(\.)|(::))\p{space}*([\$\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\p{space}+(?!(?<![\$\p{L}\p{M}\p{N}\p{Pc}])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\$\p{L}\p{M}\p{N}\p{Pc}]))(?=(@|@?[\$\p{L}\p{M}\p{N}\p{Pc}]+|[\-\=]>|-\p{Nd}|["'\[\{])))/dgv,beginCaptures:{"1":{name:"punctuation.separator.method.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{patterns:[{include:"#method_names"}]}},end:/(?=\p{space}*(?<![\$\p{L}\p{M}\p{N}\p{Pc}])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\$\p{L}\p{M}\p{N}\p{Pc}]))|(?=\p{space}*([\]\#\)\}]|(?=\n?$)))/dgv,name:"meta.method-call.coffee",patterns:[{include:"#arguments"}]}]},method_names:{patterns:[{match:/\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|Readystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|Before(cut|deactivate|unload|update|paste|print|editfocus|activate)|Blur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|Change|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|Datasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|Dragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|Errorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\b/dgv,name:"support.function.event-handler.coffee"},{match:/\b(shift|showModelessDialog|showModalDialog|showHelp|scroll|scrollX|scrollByPages|scrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|sup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours|Month|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|Time|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|savePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|contextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|createEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|test|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|untaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins[^\n]refresh|paddings|parse|print|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|fileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|forward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|abort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|releaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|Time|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|Attention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|moveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\b/dgv,name:"support.function.coffee"},{match:/*@__PURE__*/ new EmulatedRegExp("\\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|appendChild|appendData|before|blur|canPlayType|captureStream|caretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|cloneContents|cloneNode|cloneRange|close|closest|collapse|compareBoundaryPoints|compareDocumentPosition|comparePoint|contains|convertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|createAttributeNS|createCaption|createCDATASection|createComment|createContextualFragment|createDocument|createDocumentFragment|createDocumentType|createElement|createElementNS|createEntityReference|createEvent|createExpression|createHTMLDocument|createNodeIterator|createNSResolver|createProcessingInstruction|createRange|createShadowRoot|createTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|deleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|deleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|enableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|exitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|getAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|getAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|getClientRects|getContext|getDestinationInsertionPoints|getElementById|getElementsByClassName|getElementsByName|getElementsByTagName|getElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|getVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|insertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|isPointInRange|isSameNode|item|key|keys|lastChild|load|lookupNamespaceURI|lookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|moveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|parentNode|pause|play|postMessage|prepend|preventDefault|previousNode|previousSibling|probablySupportsContext|queryCommandEnabled|queryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|querySelector|querySelectorAll|registerContentHandler|registerElement|registerProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|removeAttributeNode|removeAttributeNS|removeChild|removeEventListener|removeItem|replace|replaceChild|replaceData|replaceWith|reportValidity|requestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|scrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|setAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|setCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|setRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|slice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|submit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|toDataURL|toggle|toString|values|write|writeln)\\b","dgv",{"lazyCompile":true}),name:"support.function.dom.coffee"},{match:/[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.name.function.coffee"},{match:/\p{Nd}[\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"invalid.illegal.identifier.coffee"}]},numbers:{patterns:[{match:/\b(?<!\$)0([Xx])\p{AHex}+\b(?!\$)/dgv,name:"constant.numeric.hex.coffee"},{match:/\b(?<!\$)0([Bb])[01]+\b(?!\$)/dgv,name:"constant.numeric.binary.coffee"},{match:/\b(?<!\$)0([Oo])?[0-7]+\b(?!\$)/dgv,name:"constant.numeric.octal.coffee"},{captures:{"0":{name:"constant.numeric.decimal.coffee"},"1":{name:"punctuation.separator.decimal.period.coffee"},"2":{name:"punctuation.separator.decimal.period.coffee"},"3":{name:"punctuation.separator.decimal.period.coffee"},"4":{name:"punctuation.separator.decimal.period.coffee"},"5":{name:"punctuation.separator.decimal.period.coffee"},"6":{name:"punctuation.separator.decimal.period.coffee"}},match:/(?<!\$)(?:\b[0-9]+(\.)[0-9]+[Ee][\-\+]?[0-9]+\b|\b[0-9]+(\.)[Ee][\-\+]?[0-9]+\b|\B(\.)[0-9]+[Ee][\-\+]?[0-9]+\b|\b[0-9]+[Ee][\-\+]?[0-9]+\b|\b[0-9]+(\.)[0-9]+\b|\b[0-9]+(?=\.{2,3})|\b[0-9]+(\.)\B|\B(\.)[0-9]+\b|\b[0-9]+\b(?!\.))(?!\$)/dgv}]},objects:{patterns:[{match:/[A-Z][\$0-9A-Z_]*(?=\p{space}*\??(\.\p{space}*[\$A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|::))/dgv,name:"constant.other.object.coffee"},{match:/[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*(?=\p{space}*\??(\.\p{space}*[\$A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|::))/dgv,name:"variable.other.object.coffee"}]},operators:{patterns:[{captures:{"1":{name:"variable.assignment.coffee"},"2":{name:"keyword.operator.assignment.compound.coffee"}},match:/(?:([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)?\p{space}+|(?<![\$\p{L}\p{M}\p{N}\p{Pc}]))(and=|or=)/dgv},{captures:{"1":{name:"variable.assignment.coffee"},"2":{name:"keyword.operator.assignment.compound.coffee"}},match:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)?\p{space}*((?:[\-\%\*\+]|&&|\|\||\?|(?<!\()\/)=)/dgv},{captures:{"1":{name:"variable.assignment.coffee"},"2":{name:"keyword.operator.assignment.compound.bitwise.coffee"}},match:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)?\p{space}*((?:[\&\^]|<<|>>|>>>|\|)=)/dgv},{match:/<<|>>>|>>/dgv,name:"keyword.operator.bitwise.shift.coffee"},{match:/!=|<=|>=|==|[\<\>]/dgv,name:"keyword.operator.comparison.coffee"},{match:/&&|!|\|\|/dgv,name:"keyword.operator.logical.coffee"},{match:/[\&\^\|\~]/dgv,name:"keyword.operator.bitwise.coffee"},{captures:{"1":{name:"variable.assignment.coffee"},"2":{name:"keyword.operator.assignment.coffee"}},match:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)?\p{space}*(=|:(?!:))(?![\=\>])/dgv},{match:/--/dgv,name:"keyword.operator.decrement.coffee"},{match:/\+\+/dgv,name:"keyword.operator.increment.coffee"},{match:/\.\.\./dgv,name:"keyword.operator.splat.coffee"},{match:/\?/dgv,name:"keyword.operator.existential.coffee"},{match:/[\-\%\*\+\/]/dgv,name:"keyword.operator.coffee"},{captures:{"1":{name:"keyword.operator.logical.coffee"},"2":{name:"keyword.operator.comparison.coffee"}},match:/\b(?<![\$\.])(?:(and|or|not)|(is(?:|nt)))(?!\p{space}*:)\b/dgv}]},properties:{patterns:[{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"constant.other.object.property.coffee"}},match:/(?:(\.)|(::))\p{space}*([A-Z][\$0-9A-Z_]*\b\$*)(?=\p{space}*\??(\.\p{space}*[\$A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|::))/dgv},{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"variable.other.object.property.coffee"}},match:/(?:(\.)|(::))\p{space}*(\$*[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)(?=\p{space}*\??(\.\p{space}*[\$A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|::))/dgv},{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"constant.other.property.coffee"}},match:/(?:(\.)|(::))\p{space}*([A-Z][\$0-9A-Z_]*\b\$*)/dgv},{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"variable.other.property.coffee"}},match:/(?:(\.)|(::))\p{space}*(\$*[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{captures:{"1":{name:"punctuation.separator.property.period.coffee"},"2":{name:"keyword.operator.prototype.coffee"},"3":{name:"invalid.illegal.identifier.coffee"}},match:/(?:(\.)|(::))\p{space}*([0-9][\$\p{L}\p{M}\p{N}\p{Pc}]*)/dgv}]},"regex-character-class":{patterns:[{match:/\\[DSWdsw]|\./dgv,name:"constant.character.character-class.regexp"},{match:/\\([0-7]{3}|x\p{AHex}{2}|u\p{AHex}{4})/dgv,name:"constant.character.numeric.regexp"},{match:/\\c[A-Z]/dgv,name:"constant.character.control.regexp"},{match:/\\[^\n]/dgv,name:"constant.character.escape.backslash.regexp"}]},single_quoted_string:{patterns:[{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.single.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:/(\\)(x\p{AHex}{2}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|[^\n])/dgv,name:"constant.character.escape.backslash.coffee"}]}]}},scopeName:"source.coffee",embeddedLangs:["javascript"],aliases:["coffeescript"]})
|
|
5
5
|
|
|
6
6
|
export default [
|
|
7
7
|
...javascript,
|
package/dist/common-lisp.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmulatedRegExp } from 'oniguruma-to-es'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze({displayName:"Common Lisp",fileTypes:["lisp","lsp","l","cl","asd","asdf"],foldingStartMarker:/\(/dgv,foldingStopMarker:/\)/dgv,name:"common-lisp",patterns:[{include:"#comment"},{include:"#block-comment"},{include:"#string"},{include:"#escape"},{include:"#constant"},{include:"#lambda-list"},{include:"#function"},{include:"#style-guide"},{include:"#def-name"},{include:"#macro"},{include:"#symbol"},{include:"#special-operator"},{include:"#declaration"},{include:"#type"},{include:"#class"},{include:"#condition-type"},{include:"#package"},{include:"#variable"},{include:"#punctuation"}],repository:{"block-comment":{begin:/#\|/dgv,contentName:"comment.block.commonlisp",end:/\|#/dgv,name:"comment",patterns:[{include:"#block-comment",name:"comment"}]},class:{match:/(?<=^|[\p{space}\(])(?:two-way-stream|synonym-stream|symbol|structure-object|structure-class|string-stream|stream|standard-object|standard-method|standard-generic-function|standard-class|sequence|restart|real|readtable|ratio|random-state|package|number|method|integer|hash-table|generic-function|file-stream|echo-stream|concatenated-stream|class|built-in-class|broadcast-stream|bit-vector|array)(?=([\p{space}\(\)]))/dgiv,name:"support.class.commonlisp"},comment:{begin:/(^[ \t]+)?(?=;)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.commonlisp"}},end:/*@__PURE__*/ new EmulatedRegExp("(?!^)","dgv",{"strategy":"clip_search"}),patterns:[{begin:/;/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.commonlisp"}},end:/\n/dgv,name:"comment.line.semicolon.commonlisp"}]},"condition-type":{match:/(?<=^|[\p{space}\(])(?:warning|undefined-function|unbound-variable|unbound-slot|type-error|style-warning|stream-error|storage-condition|simple-warning|simple-type-error|simple-error|simple-condition|serious-condition|reader-error|program-error|print-not-readable|parse-error|package-error|floating-point-underflow|floating-point-overflow|floating-point-invalid-operation|floating-point-inexact|file-error|error|end-of-file|division-by-zero|control-error|condition|cell-error|arithmetic-error)(?=([\p{space}\(\)]))/dgiv,name:"support.type.exception.commonlisp"},constant:{patterns:[{match:/(?<=^|[\p{space}\(]|,@|,\.|,)(?:t|single-float-negative-epsilon|single-float-epsilon|short-float-negative-epsilon|short-float-epsilon|pi|nil|multiple-values-limit|most-positive-single-float|most-positive-short-float|most-positive-long-float|most-positive-fixnum|most-positive-double-float|most-negative-single-float|most-negative-short-float|most-negative-long-float|most-negative-fixnum|most-negative-double-float|long-float-negative-epsilon|long-float-epsilon|least-positive-single-float|least-positive-short-float|least-positive-normalized-single-float|least-positive-normalized-short-float|least-positive-normalized-long-float|least-positive-normalized-double-float|least-positive-long-float|least-positive-double-float|least-negative-single-float|least-negative-short-float|least-negative-normalized-single-float|least-negative-normalized-short-float|least-negative-normalized-long-float|least-negative-normalized-double-float|least-negative-long-float|least-negative-double-float|lambda-parameters-limit|lambda-list-keywords|internal-time-units-per-second|double-float-negative-epsilon|double-float-epsilon|char-code-limit|call-arguments-limit|boole-xor|boole-set|boole-orc2|boole-orc1|boole-nor|boole-nand|boole-ior|boole-eqv|boole-clr|boole-c2|boole-c1|boole-andc2|boole-andc1|boole-and|boole-2|boole-1|array-total-size-limit|array-rank-limit|array-dimension-limit)(?=([\p{space}\(\)]))/dgiv,name:"constant.language.commonlisp"},{match:/(?<=^|[\p{space}\(]|,@|,\.|,)([\+\-]?[0-9]+(?:\/[0-9]+)*|[\-\+]?[0-9]*\.?[0-9]+([eE][\-\+]?[0-9]+)?|(#[bB])[01\/\+\-]+|(#[oO])[0-7\/\+\-]+|(#[xX])[\/\+\-\p{AHex}]+|(#[0-9]+[rR]?)[0-9a-zA-Z\/\+\-]+)(?=([\p{space}\)]))/dgv,name:"constant.numeric.commonlisp"},{match:/(?<=\p{space})(\.)(?=\p{space})/dgv,name:"variable.other.constant.dot.commonlisp"},{match:/(?<=^|[\p{space}\(]|,@|,\.|,)([\+\-]?[0-9]*\.[0-9]*(([esfdlESFDL])[\+\-]?[0-9]+)?|[\+\-]?[0-9]+(\.[0-9]*)?([esfdlESFDL])[\+\-]?[0-9]+)(?=([\p{space}\)]))/dgv,name:"constant.numeric.commonlisp"}]},declaration:{match:/(?<=^|[\p{space}\(])(?:type|speed|special|space|safety|optimize|notinline|inline|ignore|ignorable|ftype|dynamic-extent|declaration|debug|compilation-speed)(?=([\p{space}\(\)]))/dgiv,name:"storage.type.function.declaration.commonlisp"},"def-name":{patterns:[{captures:{"1":{name:"storage.type.function.defname.commonlisp"},"3":{name:"storage.type.function.defname.commonlisp"},"4":{name:"variable.other.constant.defname.commonlisp"},"6":{patterns:[{include:"#package"},{match:/\P{space}+?/dgv,name:"entity.name.function.commonlisp"}]},"7":{name:"variable.other.constant.defname.commonlisp"},"9":{patterns:[{include:"#package"},{match:/\P{space}+?/dgv,name:"entity.name.function.commonlisp"}]}},match:/(?<=^|[\p{space}\(])(def(?:un|setf|method|macro|ine-symbol-macro|ine-setf-expander|ine-modify-macro|ine-method-combination|ine-compiler-macro|generic))\p{space}+(\(\p{space}*([\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+)\p{space}*((,(?:[\@\.]|))?)([\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?)|((,(?:[\@\.]|))?)([\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?))(?=([\p{space}\(\)]))/dgiv},{captures:{"1":{name:"storage.type.function.defname.commonlisp"},"2":{name:"entity.name.type.commonlisp"}},match:/(?<=^|[\p{space}\(])(def(?:type|package|ine-condition|class))\p{space}+([\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?)(?=([\p{space}\(\)]))/dgiv},{captures:{"1":{name:"storage.type.function.defname.commonlisp"},"2":{patterns:[{include:"#package"},{match:/\P{space}+?/dgv,name:"variable.other.constant.defname.commonlisp"}]}},match:/(?<=^|[\p{space}\(])(defconstant)\p{space}+([\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?)(?=([\p{space}\(\)]))/dgiv},{captures:{"1":{name:"storage.type.function.defname.commonlisp"}},match:/(?<=^|[\p{space}\(])(def(?:var|parameter))\p{space}+(?=([\p{space}\(\)]))/dgiv},{captures:{"1":{name:"storage.type.function.defname.commonlisp"},"2":{name:"entity.name.type.commonlisp"}},match:/(?<=^|[\p{space}\(])(defstruct)\p{space}+\(?\p{space}*([\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?)(?=([\p{space}\(\)]))/dgiv},{captures:{"1":{name:"keyword.control.commonlisp"},"2":{patterns:[{include:"#package"},{match:/\P{space}+?/dgv,name:"entity.name.function.commonlisp"}]}},match:/(?<=^|[\p{space}\(])(macrolet|labels|flet)\p{space}+\(\p{space}*\(\p{space}*([\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?)(?=([\p{space}\(\)]))/dgiv}]},escape:{match:/(?<=^|[\p{space}\(])#\\\P{space}+?(?=([\p{space}\(\)]))/dgv,name:"constant.character.escape.commonlisp"},function:{patterns:[{match:/(?<=^|[\p{space}\(]|#')(?:values|third|tenth|symbol-value|symbol-plist|symbol-function|svref|subseq|sixth|seventh|second|schar|sbit|row-major-aref|rest|readtable-case|nth|ninth|mask-field|macro-function|logical-pathname-translations|ldb|gethash|getf|get|fourth|first|find-class|fill-pointer|fifth|fdefinition|elt|eighth|compiler-macro-function|char|cdr|cddr|cdddr|cddddr|cdddar|cddar|cddadr|cddaar|cdar|cdadr|cdaddr|cdadar|cdaar|cdaadr|cdaaar|car|cadr|caddr|cadddr|caddar|cadar|cadadr|cadaar|caar|caadr|caaddr|caadar|caaar|caaadr|caaaar|bit|aref)(?=([\p{space}\(\)]))/dgiv,name:"support.function.accessor.commonlisp"},{match:/(?<=^|[\p{space}\(]|#')(?:yes-or-no-p|y-or-n-p|write-sequence|write-char|write-byte|warn|vector-pop|use-value|use-package|unuse-package|union|unintern|unexport|terpri|tailp|substitute-if-not|substitute-if|substitute|subst-if-not|subst-if|subst|sublis|string-upcase|string-downcase|string-capitalize|store-value|sleep|signal|shadowing-import|shadow|set-syntax-from-char|set-macro-character|set-exclusive-or|set-dispatch-macro-character|set-difference|set|rplacd|rplaca|room|reverse|revappend|require|replace|remprop|remove-if-not|remove-if|remove-duplicates|remove|remhash|read-sequence|read-byte|random|provide|pprint-tabular|pprint-newline|pprint-linear|pprint-fill|nunion|nsubstitute-if-not|nsubstitute-if|nsubstitute|nsubst-if-not|nsubst-if|nsubst|nsublis|nstring-upcase|nstring-downcase|nstring-capitalize|nset-exclusive-or|nset-difference|nreverse|nreconc|nintersection|nconc|muffle-warning|method-combination-error|maphash|makunbound|ldiff|invoke-restart-interactively|invoke-restart|invoke-debugger|invalid-method-error|intersection|inspect|import|get-output-stream-string|get-macro-character|get-dispatch-macro-character|gentemp|gensym|fresh-line|fill|file-position|export|describe|delete-if-not|delete-if|delete-duplicates|delete|continue|clrhash|close|clear-input|break|abort)(?=([\p{space}\(\)]))/dgiv,name:"support.function.f.sideeffects.commonlisp"},{match:/*@__PURE__*/ new EmulatedRegExp("(?<=^|[\\p{space}\\(]|#')(?:zerop|write-to-string|write-string|write-line|write|wild-pathname-p|vectorp|vector-push-extend|vector-push|vector|values-list|user-homedir-pathname|upper-case-p|upgraded-complex-part-type|upgraded-array-element-type|unread-char|unbound-slot-instance|typep|type-of|type-error-expected-type|type-error-datum|two-way-stream-output-stream|two-way-stream-input-stream|truncate|truename|tree-equal|translate-pathname|translate-logical-pathname|tanh|tan|synonym-stream-symbol|symbolp|symbol-package|symbol-name|sxhash|subtypep|subsetp|stringp|string>=|string>|string=|string<=|string<|string/=|string-trim|string-right-trim|string-not-lessp|string-not-greaterp|string-not-equal|string-lessp|string-left-trim|string-greaterp|string-equal|string|streamp|stream-external-format|stream-error-stream|stream-element-type|standard-char-p|stable-sort|sqrt|special-operator-p|sort|some|software-version|software-type|slot-value|slot-makunbound|slot-exists-p|slot-boundp|sinh|sin|simple-vector-p|simple-string-p|simple-condition-format-control|simple-condition-format-arguments|simple-bit-vector-p|signum|short-site-name|set-pprint-dispatch|search|scale-float|round|restart-name|rename-package|rename-file|rem|reduce|realpart|realp|readtablep|read-preserving-whitespace|read-line|read-from-string|read-delimited-list|read-char-no-hang|read-char|read|rationalp|rationalize|rational|rassoc-if-not|rassoc-if|rassoc|random-state-p|proclaim|probe-file|print-not-readable-object|print|princ-to-string|princ|prin1-to-string|prin1|pprint-tab|pprint-indent|pprint-dispatch|pprint|position-if-not|position-if|position|plusp|phase|peek-char|pathnamep|pathname-version|pathname-type|pathname-name|pathname-match-p|pathname-host|pathname-directory|pathname-device|pathname|parse-namestring|parse-integer|pairlis|packagep|package-used-by-list|package-use-list|package-shadowing-symbols|package-nicknames|package-name|package-error-package|output-stream-p|open-stream-p|open|oddp|numerator|numberp|null|nthcdr|notevery|notany|not|next-method-p|nbutlast|namestring|name-char|mod|mismatch|minusp|min|merge-pathnames|merge|member-if-not|member-if|member|max|maplist|mapl|mapcon|mapcar|mapcan|mapc|map-into|map|make-two-way-stream|make-synonym-stream|make-symbol|make-string-output-stream|make-string-input-stream|make-string|make-sequence|make-random-state|make-pathname|make-package|make-load-form-saving-slots|make-list|make-hash-table|make-echo-stream|make-dispatch-macro-character|make-condition|make-concatenated-stream|make-broadcast-stream|make-array|macroexpand-1|macroexpand|machine-version|machine-type|machine-instance|lower-case-p|long-site-name|logxor|logtest|logorc2|logorc1|lognot|lognor|lognand|logior|logical-pathname|logeqv|logcount|logbitp|logandc2|logandc1|logand|log|load-logical-pathname-translations|load|listp|listen|list-length|list-all-packages|list\\*|list|lisp-implementation-version|lisp-implementation-type|length|ldb-test|lcm|last|keywordp|isqrt|intern|interactive-stream-p|integerp|integer-length|integer-decode-float|input-stream-p|imagpart|identity|host-namestring|hash-table-test|hash-table-size|hash-table-rehash-threshold|hash-table-rehash-size|hash-table-p|hash-table-count|graphic-char-p|get-universal-time|get-setf-expansion|get-properties|get-internal-run-time|get-internal-real-time|get-decoded-time|gcd|functionp|function-lambda-expression|funcall|ftruncate|fround|format|force-output|fmakunbound|floor|floatp|float-sign|float-radix|float-precision|float-digits|float|finish-output|find-symbol|find-restart|find-package|find-if-not|find-if|find-all-symbols|find|file-write-date|file-string-length|file-namestring|file-length|file-error-pathname|file-author|ffloor|fceiling|fboundp|expt|exp|every|evenp|eval|equalp|equal|eql|eq|ensure-generic-function|ensure-directories-exist|enough-namestring|endp|encode-universal-time|ed|echo-stream-output-stream|echo-stream-input-stream|dribble|dpb|disassemble|directory-namestring|directory|digit-char-p|digit-char|deposit-field|denominator|delete-package|delete-file|decode-universal-time|decode-float|count-if-not|count-if|count|cosh|cos|copy-tree|copy-symbol|copy-structure|copy-seq|copy-readtable|copy-pprint-dispatch|copy-list|copy-alist|constantp|constantly|consp|cons|conjugate|concatenated-stream-streams|concatenate|compute-restarts|complexp|complex|complement|compiled-function-p|compile-file-pathname|compile-file|compile|coerce|code-char|clear-output|class-of|cis|characterp|character|char>=|char>|char=|char<=|char<|char/=|char-upcase|char-not-lessp|char-not-greaterp|char-not-equal|char-name|char-lessp|char-int|char-greaterp|char-equal|char-downcase|char-code|cerror|cell-error-name|ceiling|call-next-method|byte-size|byte-position|byte|butlast|broadcast-stream-streams|boundp|both-case-p|boole|bit-xor|bit-vector-p|bit-orc2|bit-orc1|bit-not|bit-nor|bit-nand|bit-ior|bit-eqv|bit-andc2|bit-andc1|bit-and|atom|atanh|atan|assoc-if-not|assoc-if|assoc|asinh|asin|ash|arrayp|array-total-size|array-row-major-index|array-rank|array-in-bounds-p|array-has-fill-pointer-p|array-element-type|array-displacement|array-dimensions|array-dimension|arithmetic-error-operation|arithmetic-error-operands|apropos-list|apropos|apply|append|alphanumericp|alpha-char-p|adjustable-array-p|adjust-array|adjoin|acosh|acos|acons|abs|>=|[\\>\\=]|<=|<|1-|1\\+|/=|[\\/\\-\\+\\*])(?=([\\p{space}\\(\\)]))","dgiv",{"lazyCompile":true}),name:"support.function.f.sideeffects.commonlisp"},{match:/(?<=^|[\p{space}\(]|#')(?:variable|update-instance-for-redefined-class|update-instance-for-different-class|structure|slot-unbound|slot-missing|shared-initialize|remove-method|print-object|no-next-method|no-applicable-method|method-qualifiers|make-load-form|make-instances-obsolete|make-instance|initialize-instance|function-keywords|find-method|documentation|describe-object|compute-applicable-methods|compiler-macro|class-name|change-class|allocate-instance|add-method)(?=([\p{space}\(\)]))/dgiv,name:"support.function.sgf.nosideeffects.commonlisp"},{match:/(?<=^|[\p{space}\(]|#')reinitialize-instance(?=([\p{space}\(\)]))/dgiv,name:"support.function.sgf.sideeffects.commonlisp"},{match:/(?<=^|[\p{space}\(]|#')satisfies(?=([\p{space}\(\)]))/dgiv,name:"support.function.typespecifier.commonlisp"}]},"lambda-list":{match:/(?<=^|[\p{space}\(])&(?:[\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?|whole|rest|optional|key|environment|body|aux|allow-other-keys)(?=([\p{space}\(\)]))/dgiv,name:"keyword.other.lambdalist.commonlisp"},macro:{patterns:[{match:/(?<=^|[\p{space}\(])(?:with-standard-io-syntax|with-slots|with-simple-restart|with-package-iterator|with-hash-table-iterator|with-condition-restarts|with-compilation-unit|with-accessors|when|unless|typecase|time|step|shiftf|setf|rotatef|return|restart-case|restart-bind|psetf|prog2|prog1|prog\*|prog|print-unreadable-object|pprint-logical-block|pprint-exit-if-list-exhausted|or|nth-value|multiple-value-setq|multiple-value-list|multiple-value-bind|make-method|loop|lambda|ignore-errors|handler-case|handler-bind|formatter|etypecase|dotimes|dolist|do-symbols|do-external-symbols|do-all-symbols|do\*|do|destructuring-bind|defun|deftype|defstruct|defsetf|defpackage|defmethod|defmacro|define-symbol-macro|define-setf-expander|define-condition|define-compiler-macro|defgeneric|defconstant|defclass|declaim|ctypecase|cond|call-method|assert|and)(?=([\p{space}\(\)]))/dgiv,name:"storage.type.function.m.nosideeffects.commonlisp"},{match:/(?<=^|[\p{space}\(])(?:with-output-to-string|with-open-stream|with-open-file|with-input-from-string|untrace|trace|remf|pushnew|push|psetq|pprint-pop|pop|otherwise|loop-finish|incf|in-package|ecase|defvar|defparameter|define-modify-macro|define-method-combination|decf|check-type|ccase|case)(?=([\p{space}\(\)]))/dgiv,name:"storage.type.function.m.sideeffects.commonlisp"},{match:/(?<=^|[\p{space}\(])setq(?=([\p{space}\(\)]))/dgiv,name:"storage.type.function.specialform.commonlisp"}]},package:{patterns:[{captures:{"2":{name:"support.type.package.commonlisp"},"3":{name:"support.type.package.commonlisp"}},match:/(?<=^|[\p{space}\(]|,@|,\.|,)(([A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?)|(#))(?=:(?::|))/dgiv}]},punctuation:{patterns:[{match:/(?<=^|[\p{space}\(]|,@|,\.|,)(['\`])(?=\P{space})/dgv,name:"variable.other.constant.singlequote.commonlisp"},{match:/(?<=^|[\p{space}\(]|,@|,\.|,):[\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?(?=([\p{space}\(\)]))/dgiv,name:"entity.name.variable.commonlisp"},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"}},match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#)([0-9]*)(?=\()/dgv},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"},"3":{name:"variable.other.constant.sharpsign.commonlisp"}},match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#)([0-9]*)(\*)(?=[01])/dgv},{match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#(?:\*|0\*))(?=([\p{space}\(\)]))/dgv,name:"variable.other.constant.sharpsign.commonlisp"},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"},"3":{name:"variable.other.constant.sharpsign.commonlisp"}},match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#)([0-9]+)([aA])(?=[^\n])/dgiv},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"},"3":{name:"variable.other.constant.sharpsign.commonlisp"}},match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#)([0-9]+)(=)(?=[^\n])/dgv},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"},"3":{name:"variable.other.constant.sharpsign.commonlisp"}},match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#)([0-9]+)(#)(?=[^\n])/dgv},{match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#([\+\-]))(?=\P{space})/dgv,name:"variable.other.constant.sharpsign.commonlisp"},{match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#(['\,\.cCsSpP]))(?=\P{space})/dgiv,name:"variable.other.constant.sharpsign.commonlisp"},{captures:{"1":{name:"support.type.package.commonlisp"}},match:/(?<=^|[\p{space}\(]|,@|,\.|,)(#)(:)(?=\P{space})/dgv},{captures:{"2":{name:"variable.other.constant.backquote.commonlisp"},"3":{name:"variable.other.constant.backquote.commonlisp"},"4":{name:"variable.other.constant.backquote.commonlisp"},"5":{name:"variable.other.constant.backquote.commonlisp"}},match:/(?<=^|[\p{space}\(])((`#)|(`)(,(?:[\@\.]|))?|(,(?:[\@\.]|)))(?=\P{space})/dgv}]},"special-operator":{captures:{"2":{name:"keyword.control.commonlisp"}},match:/(\(\p{space}*)(unwind-protect|throw|the|tagbody|symbol-macrolet|return-from|quote|progv|progn|multiple-value-prog1|multiple-value-call|macrolet|locally|load-time-value|let\*|let|labels|if|go|function|flet|eval-when|catch|block)(?=([\p{space}\(\)]))/dgiv},string:{begin:/(")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.commonlisp"}},end:/(")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.commonlisp"}},name:"string.quoted.double.commonlisp",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.commonlisp"},{captures:{"1":{name:"storage.type.function.formattedstring.commonlisp"},"2":{name:"variable.other.constant.formattedstring.commonlisp"},"8":{name:"storage.type.function.formattedstring.commonlisp"},"10":{name:"storage.type.function.formattedstring.commonlisp"}},match:/(~)(((([\+\-]?[0-9]+)|('[^\n])|[V\#])*?(,)?)*?)((:@|@:|[\:\@])?)([\(\)\[\]\;\{\}\<\>\^])/dgiv},{captures:{"1":{name:"entity.name.variable.commonlisp"},"2":{name:"variable.other.constant.formattedstring.commonlisp"},"8":{name:"entity.name.variable.commonlisp"},"10":{name:"entity.name.variable.commonlisp"}},match:/(~)(((([\+\-]?[0-9]+)|('[^\n])|[V\#])*?(,)?)*?)((:@|@:|[\:\@])?)([ASDBOXRPCFEG\$\%\&\|\~T\*\?_WI])/dgiv},{captures:{"1":{name:"entity.name.variable.commonlisp"},"2":{name:"variable.other.constant.formattedstring.commonlisp"},"8":{name:"entity.name.variable.commonlisp"},"10":{name:"entity.name.variable.commonlisp"},"11":{name:"entity.name.variable.commonlisp"},"12":{name:"entity.name.variable.commonlisp"}},match:/(~)(((([\+\-]?[0-9]+)|('[^\n])|[V\#])*?(,)?)*?)((:@|@:|[\:\@])?)(\/)([\#\:A-Za-z0-9\+\-\*\/\@\$\%\^\&_\=\<\>\~\!\?\[\]\{\}\.]+?)(\/)/dgiv},{match:/(~\n)/dgv,name:"variable.other.constant.formattedstring.commonlisp"}]},"style-guide":{patterns:[{captures:{"3":{name:"source.commonlisp"}},match:/(?<=^'|\p{space}'|\('|,@'|,\.'|,')(\P{space}+?)(:(?::|))((\+[^\p{space}\+]+\+)|(\*[^\p{space}\*]+\*))(?=([\p{space}\(\)]))/dgv},{match:/(?<=\P{space}:|^|[\p{space}\(]|,@|,\.|,)(\+[^\p{space}\+]+\+)(?=([\p{space}\(\)]))/dgv,name:"variable.other.constant.earmuffsplus.commonlisp"},{match:/(?<=\P{space}:|^|[\p{space}\(]|,@|,\.|,)(\*[^\p{space}\*]+\*)(?=([\p{space}\(\)]))/dgv,name:"string.regexp.earmuffsasterisk.commonlisp"}]},symbol:{match:/(?<=^|[\p{space}\(])(?:method-combination|declare)(?=([\p{space}\(\)]))/dgiv,name:"storage.type.function.symbol.commonlisp"},type:{match:/(?<=^|[\p{space}\(])(?:unsigned-byte|standard-char|standard|single-float|simple-vector|simple-string|simple-bit-vector|simple-base-string|simple-array|signed-byte|short-float|long-float|keyword|fixnum|extended-char|double-float|compiled-function|boolean|bignum|base-string|base-char)(?=([\p{space}\(\)]))/dgiv,name:"support.type.t.commonlisp"},variable:{patterns:[{match:/(?<=^|[\p{space}\(]|,@|,\.|,)\*(?:trace-output\*|terminal-io\*|standard-output\*|standard-input\*|readtable\*|read-suppress\*|read-eval\*|read-default-float-format\*|read-base\*|random-state\*|query-io\*|print-right-margin\*|print-readably\*|print-radix\*|print-pretty\*|print-pprint-dispatch\*|print-miser-width\*|print-lines\*|print-level\*|print-length\*|print-gensym\*|print-escape\*|print-circle\*|print-case\*|print-base\*|print-array\*|package\*|modules\*|macroexpand-hook\*|load-verbose\*|load-truename\*|load-print\*|load-pathname\*|gensym-counter\*|features\*|error-output\*|default-pathname-defaults\*|debugger-hook\*|debug-io\*|compile-verbose\*|compile-print\*|compile-file-truename\*|compile-file-pathname\*|break-on-signals\*)(?=([\p{space}\(\)]))/dgiv,name:"string.regexp.earmuffsasterisk.commonlisp"},{match:/(?<=^|[\p{space}\(]|,@|,\.|,)(?:\*\*\*|\*\*|\+\+\+|\+\+|\/\/\/|\/\/)(?=([\p{space}\(\)]))/dgv,name:"variable.other.repl.commonlisp"}]}},scopeName:"source.commonlisp",embeddedLangs:undefined,aliases:["lisp"]})
|
|
3
|
+
const lang = Object.freeze({displayName:"Common Lisp",fileTypes:["lisp","lsp","l","cl","asd","asdf"],foldingStartMarker:/\(/dgv,foldingStopMarker:/\)/dgv,name:"common-lisp",patterns:[{include:"#comment"},{include:"#block-comment"},{include:"#string"},{include:"#escape"},{include:"#constant"},{include:"#lambda-list"},{include:"#function"},{include:"#style-guide"},{include:"#def-name"},{include:"#macro"},{include:"#symbol"},{include:"#special-operator"},{include:"#declaration"},{include:"#type"},{include:"#class"},{include:"#condition-type"},{include:"#package"},{include:"#variable"},{include:"#punctuation"}],repository:{"block-comment":{begin:/#\|/dgv,contentName:"comment.block.commonlisp",end:/\|#/dgv,name:"comment",patterns:[{include:"#block-comment",name:"comment"}]},class:{match:/(?<=^|[\(\p{space}])(?:two-way-stream|synonym-stream|symbol|structure-object|structure-class|string-stream|stream|standard-object|standard-method|standard-generic-function|standard-class|sequence|restart|real|readtable|ratio|random-state|package|number|method|integer|hash-table|generic-function|file-stream|echo-stream|concatenated-stream|class|built-in-class|broadcast-stream|bit-vector|array)(?=([\(\)\p{space}]))/dgiv,name:"support.class.commonlisp"},comment:{begin:/(^[\t ]+)?(?=;)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.commonlisp"}},end:/*@__PURE__*/ new EmulatedRegExp("(?!^)","dgv",{"strategy":"clip_search"}),patterns:[{begin:/;/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.commonlisp"}},end:/\n/dgv,name:"comment.line.semicolon.commonlisp"}]},"condition-type":{match:/(?<=^|[\(\p{space}])(?:warning|undefined-function|unbound-variable|unbound-slot|type-error|style-warning|stream-error|storage-condition|simple-warning|simple-type-error|simple-error|simple-condition|serious-condition|reader-error|program-error|print-not-readable|parse-error|package-error|floating-point-underflow|floating-point-overflow|floating-point-invalid-operation|floating-point-inexact|file-error|error|end-of-file|division-by-zero|control-error|condition|cell-error|arithmetic-error)(?=([\(\)\p{space}]))/dgiv,name:"support.type.exception.commonlisp"},constant:{patterns:[{match:/(?<=^|[\(\p{space}]|,@|,\.|,)(?:t|single-float-negative-epsilon|single-float-epsilon|short-float-negative-epsilon|short-float-epsilon|pi|nil|multiple-values-limit|most-positive-single-float|most-positive-short-float|most-positive-long-float|most-positive-fixnum|most-positive-double-float|most-negative-single-float|most-negative-short-float|most-negative-long-float|most-negative-fixnum|most-negative-double-float|long-float-negative-epsilon|long-float-epsilon|least-positive-single-float|least-positive-short-float|least-positive-normalized-single-float|least-positive-normalized-short-float|least-positive-normalized-long-float|least-positive-normalized-double-float|least-positive-long-float|least-positive-double-float|least-negative-single-float|least-negative-short-float|least-negative-normalized-single-float|least-negative-normalized-short-float|least-negative-normalized-long-float|least-negative-normalized-double-float|least-negative-long-float|least-negative-double-float|lambda-parameters-limit|lambda-list-keywords|internal-time-units-per-second|double-float-negative-epsilon|double-float-epsilon|char-code-limit|call-arguments-limit|boole-xor|boole-set|boole-orc2|boole-orc1|boole-nor|boole-nand|boole-ior|boole-eqv|boole-clr|boole-c2|boole-c1|boole-andc2|boole-andc1|boole-and|boole-2|boole-1|array-total-size-limit|array-rank-limit|array-dimension-limit)(?=([\(\)\p{space}]))/dgiv,name:"constant.language.commonlisp"},{match:/(?<=^|[\(\p{space}]|,@|,\.|,)([\-\+]?[0-9]+(?:\/[0-9]+)*|[\-\+]?[0-9]*\.?[0-9]+([Ee][\-\+]?[0-9]+)?|(#[Bb])[\-\+\/01]+|(#[Oo])[\-\+\/-7]+|(#[Xx])[\-\+\/\p{AHex}]+|(#[0-9]+[Rr]?)[\-\+\/-9A-Za-z]+)(?=([\)\p{space}]))/dgv,name:"constant.numeric.commonlisp"},{match:/(?<=\p{space})(\.)(?=\p{space})/dgv,name:"variable.other.constant.dot.commonlisp"},{match:/(?<=^|[\(\p{space}]|,@|,\.|,)([\-\+]?[0-9]*\.[0-9]*(([DEFLSdefls])[\-\+]?[0-9]+)?|[\-\+]?[0-9]+(\.[0-9]*)?([DEFLSdefls])[\-\+]?[0-9]+)(?=([\)\p{space}]))/dgv,name:"constant.numeric.commonlisp"}]},declaration:{match:/(?<=^|[\(\p{space}])(?:type|speed|special|space|safety|optimize|notinline|inline|ignore|ignorable|ftype|dynamic-extent|declaration|debug|compilation-speed)(?=([\(\)\p{space}]))/dgiv,name:"storage.type.function.declaration.commonlisp"},"def-name":{patterns:[{captures:{"1":{name:"storage.type.function.defname.commonlisp"},"3":{name:"storage.type.function.defname.commonlisp"},"4":{name:"variable.other.constant.defname.commonlisp"},"6":{patterns:[{include:"#package"},{match:/\P{space}+?/dgv,name:"entity.name.function.commonlisp"}]},"7":{name:"variable.other.constant.defname.commonlisp"},"9":{patterns:[{include:"#package"},{match:/\P{space}+?/dgv,name:"entity.name.function.commonlisp"}]}},match:/(?<=^|[\(\p{space}])(def(?:un|setf|method|macro|ine-symbol-macro|ine-setf-expander|ine-modify-macro|ine-method-combination|ine-compiler-macro|generic))\p{space}+(\(\p{space}*([\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+)\p{space}*((,(?:[\.\@]|))?)([\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?)|((,(?:[\.\@]|))?)([\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?))(?=([\(\)\p{space}]))/dgiv},{captures:{"1":{name:"storage.type.function.defname.commonlisp"},"2":{name:"entity.name.type.commonlisp"}},match:/(?<=^|[\(\p{space}])(def(?:type|package|ine-condition|class))\p{space}+([\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?)(?=([\(\)\p{space}]))/dgiv},{captures:{"1":{name:"storage.type.function.defname.commonlisp"},"2":{patterns:[{include:"#package"},{match:/\P{space}+?/dgv,name:"variable.other.constant.defname.commonlisp"}]}},match:/(?<=^|[\(\p{space}])(defconstant)\p{space}+([\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?)(?=([\(\)\p{space}]))/dgiv},{captures:{"1":{name:"storage.type.function.defname.commonlisp"}},match:/(?<=^|[\(\p{space}])(def(?:var|parameter))\p{space}+(?=([\(\)\p{space}]))/dgiv},{captures:{"1":{name:"storage.type.function.defname.commonlisp"},"2":{name:"entity.name.type.commonlisp"}},match:/(?<=^|[\(\p{space}])(defstruct)\p{space}+\(?\p{space}*([\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?)(?=([\(\)\p{space}]))/dgiv},{captures:{"1":{name:"keyword.control.commonlisp"},"2":{patterns:[{include:"#package"},{match:/\P{space}+?/dgv,name:"entity.name.function.commonlisp"}]}},match:/(?<=^|[\(\p{space}])(macrolet|labels|flet)\p{space}+\(\p{space}*\(\p{space}*([\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?)(?=([\(\)\p{space}]))/dgiv}]},escape:{match:/(?<=^|[\(\p{space}])#\\\P{space}+?(?=([\(\)\p{space}]))/dgv,name:"constant.character.escape.commonlisp"},function:{patterns:[{match:/(?<=^|[\(\p{space}]|#')(?:values|third|tenth|symbol-value|symbol-plist|symbol-function|svref|subseq|sixth|seventh|second|schar|sbit|row-major-aref|rest|readtable-case|nth|ninth|mask-field|macro-function|logical-pathname-translations|ldb|gethash|getf|get|fourth|first|find-class|fill-pointer|fifth|fdefinition|elt|eighth|compiler-macro-function|char|cdr|cddr|cdddr|cddddr|cdddar|cddar|cddadr|cddaar|cdar|cdadr|cdaddr|cdadar|cdaar|cdaadr|cdaaar|car|cadr|caddr|cadddr|caddar|cadar|cadadr|cadaar|caar|caadr|caaddr|caadar|caaar|caaadr|caaaar|bit|aref)(?=([\(\)\p{space}]))/dgiv,name:"support.function.accessor.commonlisp"},{match:/(?<=^|[\(\p{space}]|#')(?:yes-or-no-p|y-or-n-p|write-sequence|write-char|write-byte|warn|vector-pop|use-value|use-package|unuse-package|union|unintern|unexport|terpri|tailp|substitute-if-not|substitute-if|substitute|subst-if-not|subst-if|subst|sublis|string-upcase|string-downcase|string-capitalize|store-value|sleep|signal|shadowing-import|shadow|set-syntax-from-char|set-macro-character|set-exclusive-or|set-dispatch-macro-character|set-difference|set|rplacd|rplaca|room|reverse|revappend|require|replace|remprop|remove-if-not|remove-if|remove-duplicates|remove|remhash|read-sequence|read-byte|random|provide|pprint-tabular|pprint-newline|pprint-linear|pprint-fill|nunion|nsubstitute-if-not|nsubstitute-if|nsubstitute|nsubst-if-not|nsubst-if|nsubst|nsublis|nstring-upcase|nstring-downcase|nstring-capitalize|nset-exclusive-or|nset-difference|nreverse|nreconc|nintersection|nconc|muffle-warning|method-combination-error|maphash|makunbound|ldiff|invoke-restart-interactively|invoke-restart|invoke-debugger|invalid-method-error|intersection|inspect|import|get-output-stream-string|get-macro-character|get-dispatch-macro-character|gentemp|gensym|fresh-line|fill|file-position|export|describe|delete-if-not|delete-if|delete-duplicates|delete|continue|clrhash|close|clear-input|break|abort)(?=([\(\)\p{space}]))/dgiv,name:"support.function.f.sideeffects.commonlisp"},{match:/*@__PURE__*/ new EmulatedRegExp("(?<=^|[\\(\\p{space}]|#')(?:zerop|write-to-string|write-string|write-line|write|wild-pathname-p|vectorp|vector-push-extend|vector-push|vector|values-list|user-homedir-pathname|upper-case-p|upgraded-complex-part-type|upgraded-array-element-type|unread-char|unbound-slot-instance|typep|type-of|type-error-expected-type|type-error-datum|two-way-stream-output-stream|two-way-stream-input-stream|truncate|truename|tree-equal|translate-pathname|translate-logical-pathname|tanh|tan|synonym-stream-symbol|symbolp|symbol-package|symbol-name|sxhash|subtypep|subsetp|stringp|string>=|string>|string=|string<=|string<|string/=|string-trim|string-right-trim|string-not-lessp|string-not-greaterp|string-not-equal|string-lessp|string-left-trim|string-greaterp|string-equal|string|streamp|stream-external-format|stream-error-stream|stream-element-type|standard-char-p|stable-sort|sqrt|special-operator-p|sort|some|software-version|software-type|slot-value|slot-makunbound|slot-exists-p|slot-boundp|sinh|sin|simple-vector-p|simple-string-p|simple-condition-format-control|simple-condition-format-arguments|simple-bit-vector-p|signum|short-site-name|set-pprint-dispatch|search|scale-float|round|restart-name|rename-package|rename-file|rem|reduce|realpart|realp|readtablep|read-preserving-whitespace|read-line|read-from-string|read-delimited-list|read-char-no-hang|read-char|read|rationalp|rationalize|rational|rassoc-if-not|rassoc-if|rassoc|random-state-p|proclaim|probe-file|print-not-readable-object|print|princ-to-string|princ|prin1-to-string|prin1|pprint-tab|pprint-indent|pprint-dispatch|pprint|position-if-not|position-if|position|plusp|phase|peek-char|pathnamep|pathname-version|pathname-type|pathname-name|pathname-match-p|pathname-host|pathname-directory|pathname-device|pathname|parse-namestring|parse-integer|pairlis|packagep|package-used-by-list|package-use-list|package-shadowing-symbols|package-nicknames|package-name|package-error-package|output-stream-p|open-stream-p|open|oddp|numerator|numberp|null|nthcdr|notevery|notany|not|next-method-p|nbutlast|namestring|name-char|mod|mismatch|minusp|min|merge-pathnames|merge|member-if-not|member-if|member|max|maplist|mapl|mapcon|mapcar|mapcan|mapc|map-into|map|make-two-way-stream|make-synonym-stream|make-symbol|make-string-output-stream|make-string-input-stream|make-string|make-sequence|make-random-state|make-pathname|make-package|make-load-form-saving-slots|make-list|make-hash-table|make-echo-stream|make-dispatch-macro-character|make-condition|make-concatenated-stream|make-broadcast-stream|make-array|macroexpand-1|macroexpand|machine-version|machine-type|machine-instance|lower-case-p|long-site-name|logxor|logtest|logorc2|logorc1|lognot|lognor|lognand|logior|logical-pathname|logeqv|logcount|logbitp|logandc2|logandc1|logand|log|load-logical-pathname-translations|load|listp|listen|list-length|list-all-packages|list\\*|list|lisp-implementation-version|lisp-implementation-type|length|ldb-test|lcm|last|keywordp|isqrt|intern|interactive-stream-p|integerp|integer-length|integer-decode-float|input-stream-p|imagpart|identity|host-namestring|hash-table-test|hash-table-size|hash-table-rehash-threshold|hash-table-rehash-size|hash-table-p|hash-table-count|graphic-char-p|get-universal-time|get-setf-expansion|get-properties|get-internal-run-time|get-internal-real-time|get-decoded-time|gcd|functionp|function-lambda-expression|funcall|ftruncate|fround|format|force-output|fmakunbound|floor|floatp|float-sign|float-radix|float-precision|float-digits|float|finish-output|find-symbol|find-restart|find-package|find-if-not|find-if|find-all-symbols|find|file-write-date|file-string-length|file-namestring|file-length|file-error-pathname|file-author|ffloor|fceiling|fboundp|expt|exp|every|evenp|eval|equalp|equal|eql|eq|ensure-generic-function|ensure-directories-exist|enough-namestring|endp|encode-universal-time|ed|echo-stream-output-stream|echo-stream-input-stream|dribble|dpb|disassemble|directory-namestring|directory|digit-char-p|digit-char|deposit-field|denominator|delete-package|delete-file|decode-universal-time|decode-float|count-if-not|count-if|count|cosh|cos|copy-tree|copy-symbol|copy-structure|copy-seq|copy-readtable|copy-pprint-dispatch|copy-list|copy-alist|constantp|constantly|consp|cons|conjugate|concatenated-stream-streams|concatenate|compute-restarts|complexp|complex|complement|compiled-function-p|compile-file-pathname|compile-file|compile|coerce|code-char|clear-output|class-of|cis|characterp|character|char>=|char>|char=|char<=|char<|char/=|char-upcase|char-not-lessp|char-not-greaterp|char-not-equal|char-name|char-lessp|char-int|char-greaterp|char-equal|char-downcase|char-code|cerror|cell-error-name|ceiling|call-next-method|byte-size|byte-position|byte|butlast|broadcast-stream-streams|boundp|both-case-p|boole|bit-xor|bit-vector-p|bit-orc2|bit-orc1|bit-not|bit-nor|bit-nand|bit-ior|bit-eqv|bit-andc2|bit-andc1|bit-and|atom|atanh|atan|assoc-if-not|assoc-if|assoc|asinh|asin|ash|arrayp|array-total-size|array-row-major-index|array-rank|array-in-bounds-p|array-has-fill-pointer-p|array-element-type|array-displacement|array-dimensions|array-dimension|arithmetic-error-operation|arithmetic-error-operands|apropos-list|apropos|apply|append|alphanumericp|alpha-char-p|adjustable-array-p|adjust-array|adjoin|acosh|acos|acons|abs|>=|[\\=\\>]|<=|<|1-|1\\+|/=|[\\-\\*\\+\\/])(?=([\\(\\)\\p{space}]))","dgiv",{"lazyCompile":true}),name:"support.function.f.sideeffects.commonlisp"},{match:/(?<=^|[\(\p{space}]|#')(?:variable|update-instance-for-redefined-class|update-instance-for-different-class|structure|slot-unbound|slot-missing|shared-initialize|remove-method|print-object|no-next-method|no-applicable-method|method-qualifiers|make-load-form|make-instances-obsolete|make-instance|initialize-instance|function-keywords|find-method|documentation|describe-object|compute-applicable-methods|compiler-macro|class-name|change-class|allocate-instance|add-method)(?=([\(\)\p{space}]))/dgiv,name:"support.function.sgf.nosideeffects.commonlisp"},{match:/(?<=^|[\(\p{space}]|#')reinitialize-instance(?=([\(\)\p{space}]))/dgiv,name:"support.function.sgf.sideeffects.commonlisp"},{match:/(?<=^|[\(\p{space}]|#')satisfies(?=([\(\)\p{space}]))/dgiv,name:"support.function.typespecifier.commonlisp"}]},"lambda-list":{match:/(?<=^|[\(\p{space}])&(?:[\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?|whole|rest|optional|key|environment|body|aux|allow-other-keys)(?=([\(\)\p{space}]))/dgiv,name:"keyword.other.lambdalist.commonlisp"},macro:{patterns:[{match:/(?<=^|[\(\p{space}])(?:with-standard-io-syntax|with-slots|with-simple-restart|with-package-iterator|with-hash-table-iterator|with-condition-restarts|with-compilation-unit|with-accessors|when|unless|typecase|time|step|shiftf|setf|rotatef|return|restart-case|restart-bind|psetf|prog2|prog1|prog\*|prog|print-unreadable-object|pprint-logical-block|pprint-exit-if-list-exhausted|or|nth-value|multiple-value-setq|multiple-value-list|multiple-value-bind|make-method|loop|lambda|ignore-errors|handler-case|handler-bind|formatter|etypecase|dotimes|dolist|do-symbols|do-external-symbols|do-all-symbols|do\*|do|destructuring-bind|defun|deftype|defstruct|defsetf|defpackage|defmethod|defmacro|define-symbol-macro|define-setf-expander|define-condition|define-compiler-macro|defgeneric|defconstant|defclass|declaim|ctypecase|cond|call-method|assert|and)(?=([\(\)\p{space}]))/dgiv,name:"storage.type.function.m.nosideeffects.commonlisp"},{match:/(?<=^|[\(\p{space}])(?:with-output-to-string|with-open-stream|with-open-file|with-input-from-string|untrace|trace|remf|pushnew|push|psetq|pprint-pop|pop|otherwise|loop-finish|incf|in-package|ecase|defvar|defparameter|define-modify-macro|define-method-combination|decf|check-type|ccase|case)(?=([\(\)\p{space}]))/dgiv,name:"storage.type.function.m.sideeffects.commonlisp"},{match:/(?<=^|[\(\p{space}])setq(?=([\(\)\p{space}]))/dgiv,name:"storage.type.function.specialform.commonlisp"}]},package:{patterns:[{captures:{"2":{name:"support.type.package.commonlisp"},"3":{name:"support.type.package.commonlisp"}},match:/(?<=^|[\(\p{space}]|,@|,\.|,)(([\]\!\$\%\&\*\+\--9\<-\[\^_a-\{\}\~]+?)|(#))(?=:(?::|))/dgiv}]},punctuation:{patterns:[{match:/(?<=^|[\(\p{space}]|,@|,\.|,)(['\`])(?=\P{space})/dgv,name:"variable.other.constant.singlequote.commonlisp"},{match:/(?<=^|[\(\p{space}]|,@|,\.|,):[\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?(?=([\(\)\p{space}]))/dgiv,name:"entity.name.variable.commonlisp"},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"}},match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#)([0-9]*)(?=\()/dgv},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"},"3":{name:"variable.other.constant.sharpsign.commonlisp"}},match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#)([0-9]*)(\*)(?=[01])/dgv},{match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#(?:|0)\*)(?=([\(\)\p{space}]))/dgv,name:"variable.other.constant.sharpsign.commonlisp"},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"},"3":{name:"variable.other.constant.sharpsign.commonlisp"}},match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#)([0-9]+)([Aa])(?=[^\n])/dgiv},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"},"3":{name:"variable.other.constant.sharpsign.commonlisp"}},match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#)([0-9]+)(=)(?=[^\n])/dgv},{captures:{"1":{name:"variable.other.constant.sharpsign.commonlisp"},"2":{name:"constant.numeric.commonlisp"},"3":{name:"variable.other.constant.sharpsign.commonlisp"}},match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#)([0-9]+)(#)(?=[^\n])/dgv},{match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#([\-\+]))(?=\P{space})/dgv,name:"variable.other.constant.sharpsign.commonlisp"},{match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#(['\,\.CPScps]))(?=\P{space})/dgiv,name:"variable.other.constant.sharpsign.commonlisp"},{captures:{"1":{name:"support.type.package.commonlisp"}},match:/(?<=^|[\(\p{space}]|,@|,\.|,)(#)(:)(?=\P{space})/dgv},{captures:{"2":{name:"variable.other.constant.backquote.commonlisp"},"3":{name:"variable.other.constant.backquote.commonlisp"},"4":{name:"variable.other.constant.backquote.commonlisp"},"5":{name:"variable.other.constant.backquote.commonlisp"}},match:/(?<=^|[\(\p{space}])((`#)|(`)(,(?:[\.\@]|))?|(,(?:[\.\@]|)))(?=\P{space})/dgv}]},"special-operator":{captures:{"2":{name:"keyword.control.commonlisp"}},match:/(\(\p{space}*)(unwind-protect|throw|the|tagbody|symbol-macrolet|return-from|quote|progv|progn|multiple-value-prog1|multiple-value-call|macrolet|locally|load-time-value|let\*|let|labels|if|go|function|flet|eval-when|catch|block)(?=([\(\)\p{space}]))/dgiv},string:{begin:/(")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.commonlisp"}},end:/(")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.commonlisp"}},name:"string.quoted.double.commonlisp",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.commonlisp"},{captures:{"1":{name:"storage.type.function.formattedstring.commonlisp"},"2":{name:"variable.other.constant.formattedstring.commonlisp"},"8":{name:"storage.type.function.formattedstring.commonlisp"},"10":{name:"storage.type.function.formattedstring.commonlisp"}},match:/(~)(((([\-\+]?[0-9]+)|('[^\n])|[\#V])*?(,)?)*?)((:@|@:|[\:\@])?)([\]\(\)\;\<\>\[\^\{\}])/dgiv},{captures:{"1":{name:"entity.name.variable.commonlisp"},"2":{name:"variable.other.constant.formattedstring.commonlisp"},"8":{name:"entity.name.variable.commonlisp"},"10":{name:"entity.name.variable.commonlisp"}},match:/(~)(((([\-\+]?[0-9]+)|('[^\n])|[\#V])*?(,)?)*?)((:@|@:|[\:\@])?)([\$\%\&\*\?A-GIOPRSTWX_\|\~])/dgiv},{captures:{"1":{name:"entity.name.variable.commonlisp"},"2":{name:"variable.other.constant.formattedstring.commonlisp"},"8":{name:"entity.name.variable.commonlisp"},"10":{name:"entity.name.variable.commonlisp"},"11":{name:"entity.name.variable.commonlisp"},"12":{name:"entity.name.variable.commonlisp"}},match:/(~)(((([\-\+]?[0-9]+)|('[^\n])|[\#V])*?(,)?)*?)((:@|@:|[\:\@])?)(\/)([\]\!\#-\&\*\+\--\:\<-\[\^_a-\{\}\~]+?)(\/)/dgiv},{match:/(~\n)/dgv,name:"variable.other.constant.formattedstring.commonlisp"}]},"style-guide":{patterns:[{captures:{"3":{name:"source.commonlisp"}},match:/(?<=(?:^|[\(\p{space}]|,@|,\.|,)')(\P{space}+?)(:(?::|))((\+[^\+\p{space}]+\+)|(\*[^\*\p{space}]+\*))(?=([\(\)\p{space}]))/dgv},{match:/(?<=\P{space}:|^|[\(\p{space}]|,@|,\.|,)(\+[^\+\p{space}]+\+)(?=([\(\)\p{space}]))/dgv,name:"variable.other.constant.earmuffsplus.commonlisp"},{match:/(?<=\P{space}:|^|[\(\p{space}]|,@|,\.|,)(\*[^\*\p{space}]+\*)(?=([\(\)\p{space}]))/dgv,name:"string.regexp.earmuffsasterisk.commonlisp"}]},symbol:{match:/(?<=^|[\(\p{space}])(?:method-combination|declare)(?=([\(\)\p{space}]))/dgiv,name:"storage.type.function.symbol.commonlisp"},type:{match:/(?<=^|[\(\p{space}])(?:unsigned-byte|standard-char|standard|single-float|simple-vector|simple-string|simple-bit-vector|simple-base-string|simple-array|signed-byte|short-float|long-float|keyword|fixnum|extended-char|double-float|compiled-function|boolean|bignum|base-string|base-char)(?=([\(\)\p{space}]))/dgiv,name:"support.type.t.commonlisp"},variable:{patterns:[{match:/(?<=^|[\(\p{space}]|,@|,\.|,)\*(?:trace-output|terminal-io|standard-output|standard-input|readtable|read-suppress|read-eval|read-default-float-format|read-base|random-state|query-io|print-right-margin|print-readably|print-radix|print-pretty|print-pprint-dispatch|print-miser-width|print-lines|print-level|print-length|print-gensym|print-escape|print-circle|print-case|print-base|print-array|package|modules|macroexpand-hook|load-verbose|load-truename|load-print|load-pathname|gensym-counter|features|error-output|default-pathname-defaults|debugger-hook|debug-io|compile-verbose|compile-print|compile-file-truename|compile-file-pathname|break-on-signals)\*(?=([\(\)\p{space}]))/dgiv,name:"string.regexp.earmuffsasterisk.commonlisp"},{match:/(?<=^|[\(\p{space}]|,@|,\.|,)(?:\*\*\*|\*\*|\+\+\+|\+\+|\/\/\/|\/\/)(?=([\(\)\p{space}]))/dgv,name:"variable.other.repl.commonlisp"}]}},scopeName:"source.commonlisp",embeddedLangs:undefined,aliases:["lisp"]})
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
lang
|
package/dist/coq.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({displayName:"Coq",fileTypes:["v"],name:"coq",patterns:[{match:/\b(From|Require|Import|Export|Local|Global|Include)\b/dgv,name:"keyword.control.import.coq"},{match:/\b((Open|Close|Delimit|Undelimit|Bind)\p{space}+Scope)\b/dgv,name:"keyword.control.import.coq"},{captures:{"1":{name:"keyword.source.coq"},"2":{name:"entity.name.function.theorem.coq"}},match:/\b(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition)\p{space}+(([\p{L}
|
|
1
|
+
const lang = Object.freeze({displayName:"Coq",fileTypes:["v"],name:"coq",patterns:[{match:/\b(From|Require|Import|Export|Local|Global|Include)\b/dgv,name:"keyword.control.import.coq"},{match:/\b((Open|Close|Delimit|Undelimit|Bind)\p{space}+Scope)\b/dgv,name:"keyword.control.import.coq"},{captures:{"1":{name:"keyword.source.coq"},"2":{name:"entity.name.function.theorem.coq"}},match:/\b(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition)\p{space}+(([_ \p{L}])(['0-9_ \p{L}])*)/dgv},{match:/\bGoal\b/dgv,name:"keyword.source.coq"},{captures:{"1":{name:"keyword.source.coq"},"2":{name:"keyword.source.coq"},"3":{name:"entity.name.assumption.coq"}},match:/\b(Parameters?|Axioms?|Conjectures?|Variables?|Hypothesis|Hypotheses)(\p{space}+Inline)?\b\p{space}*\(?\p{space}*(([_ \p{L}])(['0-9_ \p{L}])*)/dgv},{captures:{"1":{name:"keyword.source.coq"},"3":{name:"entity.name.assumption.coq"}},match:/\b(Context)\b\p{space}*`?\p{space}*([\(\{])?\p{space}*(([_ \p{L}])(['0-9_ \p{L}])*)/dgv},{captures:{"1":{name:"keyword.source.coq"},"2":{name:"keyword.source.coq"},"3":{name:"entity.name.function.coq"}},match:/(\b(?:Program|Local)\p{space}+)?\b(Definition|Fixpoint|CoFixpoint|Function|Example|Let(?:(?:\p{space}+|\p{space}+Co)Fixpoint)?|Instance|Equations|Equations?)\p{space}+(([_ \p{L}])(['0-9_ \p{L}])*)/dgv},{captures:{"1":{name:"keyword.source.coq"}},match:/\b((Show\p{space}+)?Obligation\p{space}+Tactic|Obligations\p{space}+of|Obligation|Next\p{space}+Obligation(\p{space}+of)?|Solve\p{space}+Obligations(\p{space}+of)?|Solve\p{space}+All\p{space}+Obligations|Admit\p{space}+Obligations(\p{space}+of)?|Instance)\b/dgv},{captures:{"1":{name:"keyword.source.coq"},"3":{name:"entity.name.type.coq"}},match:/\b(CoInductive|Inductive|Variant|Record|Structure|Class)\p{space}+(>\p{space}*)?(([_ \p{L}])(['0-9_ \p{L}])*)/dgv},{captures:{"1":{name:"keyword.source.coq"},"2":{name:"entity.name.function.ltac"}},match:/\b(Ltac)\p{space}+(([_ \p{L}])(['0-9_ \p{L}])*)/dgv},{match:/\b(Hint(\p{space}+Mode)?|Create\p{space}+HintDb|Constructors|Resolve|Rewrite|Ltac|Ltac2|Implicit(\p{space}+Types)?|Set|Unset|Remove\p{space}+Printing|Arguments|((Tactic|Reserved)\p{space}+)?Notation|Infix|Section|Module(\p{space}+Type)?|End|Check|Print(\p{space}+All)?|Eval|Compute|Search|Universe|Coercions|Generalizable(\p{space}+(All|Variable))?|Existing(\p{space}+(Class|Instance))?|Canonical|About|Locate|Collection|Typeclasses\p{space}+(Opaque|Transparent))\b/dgv,name:"keyword.source.coq"},{match:/\b(Proof|Qed|Defined|Save|Abort(\p{space}+All)?|Undo(\p{space}+To)?|Restart|Focus|Unfocus|Unfocused|Show\p{space}+Proof|Show\p{space}+Existentials|Show|Unshelve)\b/dgv,name:"keyword.source.coq"},{match:/\b(Quit|Drop|Time|Redirect|Timeout|Fail)\b/dgv,name:"keyword.debug.coq"},{match:/\b(admit|Admitted)\b/dgv,name:"invalid.illegal.admit.coq"},{match:/[\-\*\+\:\<\=\>\{\|\}¬→↔∧∨≠≤≥]/dgv,name:"keyword.operator.coq"},{match:/\b(forall|exists|Type|Set|Prop|nat|bool|option|list|unit|sum|prod|comparison|Empty_set)\b|[∀∃]/dgv,name:"support.type.coq"},{match:/\b(try|repeat|rew|progress|fresh|solve|now|first|tryif|at|once|do|only)\b/dgv,name:"keyword.control.ltac"},{match:/\b(into|with|eqn|by|move|as|using)\b/dgv,name:"keyword.control.ltac"},{match:/\b(match|lazymatch|multimatch|fun|with|return|end|let|in|if|then|else|fix|for|where|and)\b|λ/dgv,name:"keyword.control.gallina"},{match:/\b(intro|intros|revert|induction|destruct|auto|eauto|tauto|eassumption|apply|eapply|assumption|constructor|econstructor|reflexivity|inversion|injection|assert|split|esplit|omega|fold|unfold|specialize|rewrite|erewrite|change|symmetry|refine|simpl|intuition|firstorder|generalize|idtac|exist|exists|eexists|elim|eelim|rename|subst|congruence|trivial|left|right|set|pose|discriminate|clear|clearbody|contradict|contradiction|exact|dependent|remember|case|easy|unshelve|pattern|transitivity|etransitivity|f_equal|exfalso|replace|abstract|cycle|swap|revgoals|shelve|unshelve)\b/dgv,name:"support.function.builtin.ltac"},{applyEndPatternLast:1,begin:/\(\*(?!#)/dgv,end:/\*\)/dgv,name:"comment.block.coq",patterns:[{include:"#block_comment"},{include:"#block_double_quoted_string"}]},{match:/\b((0([Xx])\p{AHex}+)|([0-9]+(\.[0-9]+)?))\b/dgv,name:"constant.numeric.gallina"},{match:/\b(True|False|tt|false|true|Some|None|nil|cons|pair|inl|inr|[OS]|Eq|Lt|Gt|id|ex|all|unique)\b/dgv,name:"constant.language.constructor.gallina"},{match:/\b_\b/dgv,name:"constant.language.wildcard.coq"},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coq"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coq"}},name:"string.quoted.double.coq"}],repository:{block_comment:{applyEndPatternLast:1,begin:/\(\*(?!#)/dgv,end:/\*\)/dgv,name:"comment.block.coq",patterns:[{include:"#block_comment"},{include:"#block_double_quoted_string"}]},block_double_quoted_string:{applyEndPatternLast:1,begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.coq"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.coq"}},name:"string.quoted.double.coq"}},scopeName:"source.coq",embeddedLangs:undefined,aliases:undefined})
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|