@shikijs/langs-precompiled 3.2.2 → 3.4.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/cmake.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 -3
- 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/jinja.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import jinja_html from './jinja-html.mjs'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze({displayName:"Jinja",foldingStartMarker:/(\{%\p{space}*(block|filter|for|if|macro|raw))/dgv,foldingStopMarker:/(\{%\p{space}*(end(?:block|filter|for|if|macro|raw))\p{space}*%\})/dgv,name:"jinja",patterns:[{begin:/(\{%)\p{space}*(raw)\p{space}*(%\})/dgv,captures:{"1":{name:"entity.other.jinja.delimiter.tag"},"2":{name:"keyword.control.jinja"},"3":{name:"entity.other.jinja.delimiter.tag"}},end:/(\{%)\p{space}*(endraw)\p{space}*(%\})/dgv,name:"comment.block.jinja.raw"},{include:"#comments"},{begin:/\{\{-?/dgv,captures:[{name:"variable.entity.other.jinja.delimiter"}],end:/-?\}\}/dgv,name:"variable.meta.scope.jinja",patterns:[{include:"#expression"}]},{begin:/\{%-?/dgv,captures:[{name:"entity.other.jinja.delimiter.tag"}],end:/-?%\}/dgv,name:"meta.scope.jinja.tag",patterns:[{include:"#expression"}]}],repository:{comments:{begin:/\{#-?/dgv,captures:[{name:"entity.other.jinja.delimiter.comment"}],end:/-?#\}/dgv,name:"comment.block.jinja",patterns:[{include:"#comments"}]},escaped_char:{match:/\\x[0-9A-F]{2}/dgv,name:"constant.character.escape.hex.jinja"},escaped_unicode_char:{captures:{"1":{name:"constant.character.escape.unicode.16-bit-hex.jinja"},"2":{name:"constant.character.escape.unicode.32-bit-hex.jinja"},"3":{name:"constant.character.escape.unicode.name.jinja"}},match:/(\\U\p{AHex}{8})|(\\u\p{AHex}{4})|(\\N\{[
|
|
3
|
+
const lang = Object.freeze({displayName:"Jinja",foldingStartMarker:/(\{%\p{space}*(block|filter|for|if|macro|raw))/dgv,foldingStopMarker:/(\{%\p{space}*(end(?:block|filter|for|if|macro|raw))\p{space}*%\})/dgv,name:"jinja",patterns:[{begin:/(\{%)\p{space}*(raw)\p{space}*(%\})/dgv,captures:{"1":{name:"entity.other.jinja.delimiter.tag"},"2":{name:"keyword.control.jinja"},"3":{name:"entity.other.jinja.delimiter.tag"}},end:/(\{%)\p{space}*(endraw)\p{space}*(%\})/dgv,name:"comment.block.jinja.raw"},{include:"#comments"},{begin:/\{\{-?/dgv,captures:[{name:"variable.entity.other.jinja.delimiter"}],end:/-?\}\}/dgv,name:"variable.meta.scope.jinja",patterns:[{include:"#expression"}]},{begin:/\{%-?/dgv,captures:[{name:"entity.other.jinja.delimiter.tag"}],end:/-?%\}/dgv,name:"meta.scope.jinja.tag",patterns:[{include:"#expression"}]}],repository:{comments:{begin:/\{#-?/dgv,captures:[{name:"entity.other.jinja.delimiter.comment"}],end:/-?#\}/dgv,name:"comment.block.jinja",patterns:[{include:"#comments"}]},escaped_char:{match:/\\x[0-9A-F]{2}/dgv,name:"constant.character.escape.hex.jinja"},escaped_unicode_char:{captures:{"1":{name:"constant.character.escape.unicode.16-bit-hex.jinja"},"2":{name:"constant.character.escape.unicode.32-bit-hex.jinja"},"3":{name:"constant.character.escape.unicode.name.jinja"}},match:/(\\U\p{AHex}{8})|(\\u\p{AHex}{4})|(\\N\{[ A-Za-z]+\})/dgv},expression:{patterns:[{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.block"}},match:/\p{space}*\b(block)\p{space}+([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.filter"}},match:/\p{space}*\b(filter)\p{space}+([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.test"}},match:/\p{space}*\b(is)\p{space}+([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"}},match:/(?<=\{%-?)\p{space}*\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?!\p{space}*[\,\=])/dgv},{match:/\b(and|else|if|in|import|not|or|recursive|with(out)?\p{space}+context)\b/dgv,name:"keyword.control.jinja"},{match:/\b(true|false|none)\b/dgv,name:"constant.language.jinja"},{match:/\b(loop|super|self|varargs|kwargs)\b/dgv,name:"variable.language.jinja"},{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"variable.other.jinja"},{match:/([\-\+]|\*\*?|\/\/|[\%\/])/dgv,name:"keyword.operator.arithmetic.jinja"},{captures:{"1":{name:"punctuation.other.jinja"},"2":{name:"variable.other.jinja.filter"}},match:/(\|)([A-Z_a-z][0-9A-Z_a-z]*)/dgv},{captures:{"1":{name:"punctuation.other.jinja"},"2":{name:"variable.other.jinja.attribute"}},match:/(\.)([A-Z_a-z][0-9A-Z_a-z]*)/dgv},{begin:/\[/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\]/dgv,patterns:[{include:"#expression"}]},{begin:/\(/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\)/dgv,patterns:[{include:"#expression"}]},{begin:/\{/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\}/dgv,patterns:[{include:"#expression"}]},{match:/([\,\.\:\|])/dgv,name:"punctuation.other.jinja"},{match:/(==|<=|=>|[\<\>]|!=)/dgv,name:"keyword.operator.comparison.jinja"},{match:/=/dgv,name:"keyword.operator.assignment.jinja"},{begin:/"/dgv,beginCaptures:[{name:"punctuation.definition.string.begin.jinja"}],end:/"/dgv,endCaptures:[{name:"punctuation.definition.string.end.jinja"}],name:"string.quoted.double.jinja",patterns:[{include:"#string"}]},{begin:/'/dgv,beginCaptures:[{name:"punctuation.definition.string.begin.jinja"}],end:/'/dgv,endCaptures:[{name:"punctuation.definition.string.end.jinja"}],name:"string.quoted.single.jinja",patterns:[{include:"#string"}]},{begin:/@\//dgv,beginCaptures:[{name:"punctuation.definition.regexp.begin.jinja"}],end:/\//dgv,endCaptures:[{name:"punctuation.definition.regexp.end.jinja"}],name:"string.regexp.jinja",patterns:[{include:"#simple_escapes"}]}]},simple_escapes:{captures:{"1":{name:"constant.character.escape.newline.jinja"},"2":{name:"constant.character.escape.backlash.jinja"},"3":{name:"constant.character.escape.double-quote.jinja"},"4":{name:"constant.character.escape.single-quote.jinja"},"5":{name:"constant.character.escape.bell.jinja"},"6":{name:"constant.character.escape.backspace.jinja"},"7":{name:"constant.character.escape.formfeed.jinja"},"8":{name:"constant.character.escape.linefeed.jinja"},"9":{name:"constant.character.escape.return.jinja"},"10":{name:"constant.character.escape.tab.jinja"},"11":{name:"constant.character.escape.vertical-tab.jinja"}},match:/(\\\n)|(\\\\)|(\\")|(\\')|(\\a)|(\\b)|(\\f)|(\\n)|(\\r)|(\\t)|(\\v)/dgv},string:{patterns:[{include:"#simple_escapes"},{include:"#escaped_char"},{include:"#escaped_unicode_char"}]}},scopeName:"source.jinja",embeddedLangs:["jinja-html"],aliases:undefined})
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
...jinja_html,
|
package/dist/jison.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import javascript from './javascript.mjs'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze({displayName:"Jison",fileTypes:["jison"],injections:{"L:(meta.action.jison - (comment | string)), source.js.embedded.jison - (comment | string), source.js.embedded.source - (comment | string.quoted.double | string.quoted.single)":{patterns:[{match:/\${2}/dgv,name:"variable.language.semantic-value.jison"},{match:/@\$/dgv,name:"variable.language.result-location.jison"},{match:/##\$|\byysp\b/dgv,name:"variable.language.stack-index-0.jison"},{match:/#\P{space}+#/dgv,name:"support.variable.token-reference.jison"},{match:/#\$/dgv,name:"variable.language.result-id.jison"},{match:/\$(?:-?\p{Nd}+|[\p{Alpha}
|
|
3
|
+
const lang = Object.freeze({displayName:"Jison",fileTypes:["jison"],injections:{"L:(meta.action.jison - (comment | string)), source.js.embedded.jison - (comment | string), source.js.embedded.source - (comment | string.quoted.double | string.quoted.single)":{patterns:[{match:/\${2}/dgv,name:"variable.language.semantic-value.jison"},{match:/@\$/dgv,name:"variable.language.result-location.jison"},{match:/##\$|\byysp\b/dgv,name:"variable.language.stack-index-0.jison"},{match:/#\P{space}+#/dgv,name:"support.variable.token-reference.jison"},{match:/#\$/dgv,name:"variable.language.result-id.jison"},{match:/\$(?:-?\p{Nd}+|[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?)/dgv,name:"support.variable.token-value.jison"},{match:/@(?:-?\p{Nd}+|[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?)/dgv,name:"support.variable.token-location.jison"},{match:/##(?:-?\p{Nd}+|[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?)/dgv,name:"support.variable.stack-index.jison"},{match:/#(?:-?\p{Nd}+|[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?)/dgv,name:"support.variable.token-id.jison"},{match:/\byy(?:l(?:eng|ineno|oc|stack)|rulelength|s(?:tate|s?tack)|text|vstack)\b/dgv,name:"variable.language.jison"},{match:/\byy(?:clearin|erro[kr])\b/dgv,name:"keyword.other.jison"}]}},name:"jison",patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jison"}},end:/$/dgv,patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jison"}},end:/$/dgv,patterns:[{begin:/(?:)/dgv,contentName:"source.js.embedded.jison",end:/$/dgv,name:"meta.section.epilogue.jison",patterns:[{include:"#epilogue_section"}]}]},{begin:/(?:)/dgv,end:/(?=%%)/dgv,name:"meta.section.rules.jison",patterns:[{include:"#rules_section"}]}]},{begin:/^/dgv,end:/(?=%%)/dgv,name:"meta.section.declarations.jison",patterns:[{include:"#declarations_section"}]}],repository:{actions:{patterns:[{begin:/\{\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.begin.jison"}},contentName:"source.js.embedded.jison",end:/\}\}/dgv,endCaptures:{"0":{name:"punctuation.definition.action.end.jison"}},name:"meta.action.jison",patterns:[{include:"source.js"}]},{begin:/(?=%\{)/dgv,end:/(?<=%\})/dgv,name:"meta.action.jison",patterns:[{include:"#user_code_blocks"}]}]},comments:{patterns:[{begin:/\/\//dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.jison"}},end:/(?=\n?$)/dgv,name:"comment.line.double-slash.jison"},{begin:/\/\*/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.jison"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.jison"}},name:"comment.block.jison"}]},declarations_section:{patterns:[{include:"#comments"},{begin:/^\p{space}*(%lex)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"entity.name.tag.lexer.begin.jison"}},end:/^\p{space}*(\/lex)\b/dgv,endCaptures:{"1":{name:"entity.name.tag.lexer.end.jison"}},patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jisonlex"}},end:/(?=\/lex)/dgv,patterns:[{begin:/^%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jisonlex"}},end:/(?=\/lex)/dgv,patterns:[{begin:/(?:)/dgv,contentName:"source.js.embedded.jisonlex",end:/(?=\/lex)/dgv,name:"meta.section.user-code.jisonlex",patterns:[{include:"source.jisonlex#user_code_section"}]}]},{begin:/(?:)/dgv,end:/^(?=%%|\/lex)/dgv,name:"meta.section.rules.jisonlex",patterns:[{include:"source.jisonlex#rules_section"}]}]},{begin:/^/dgv,end:/(?=%%|\/lex)/dgv,name:"meta.section.definitions.jisonlex",patterns:[{include:"source.jisonlex#definitions_section"}]}]},{begin:/(?=%\{)/dgv,end:/(?<=%\})/dgv,name:"meta.section.prologue.jison",patterns:[{include:"#user_code_blocks"}]},{include:"#options_declarations"},{match:/%(ebnf|left|nonassoc|parse-param|right|start)\b/dgv,name:"keyword.other.declaration.$1.jison"},{include:"#include_declarations"},{begin:/%(code)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=\n?$)/dgv,name:"meta.code.jison",patterns:[{include:"#comments"},{include:"#rule_actions"},{match:/(init|required)/dgv,name:"keyword.other.code-qualifier.$1.jison"},{include:"#quoted_strings"},{match:/\b[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"string.unquoted.jison"}]},{begin:/%(parser-type)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=\n?$)/dgv,name:"meta.parser-type.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{match:/\b[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"string.unquoted.jison"}]},{begin:/%(token)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=\n?$)|(%%|;)/dgv,endCaptures:{"1":{name:"punctuation.terminator.declaration.token.jison"}},name:"meta.token.jison",patterns:[{include:"#comments"},{include:"#numbers"},{include:"#quoted_strings"},{match:/<[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?>/dgv,name:"invalid.unimplemented.jison"},{match:/\P{space}+/dgv,name:"entity.other.token.jison"}]},{match:/%(debug|import)\b/dgv,name:"keyword.other.declaration.$1.jison"},{match:/%prec\b/dgv,name:"invalid.illegal.jison"},{match:/%[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"invalid.unimplemented.jison"},{include:"#numbers"},{include:"#quoted_strings"}]},epilogue_section:{patterns:[{include:"#user_code_include_declarations"},{include:"source.js"}]},include_declarations:{patterns:[{begin:/(%(include))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.declaration.$2.jison"}},end:/(?<=["'])|(?=\p{space})/dgv,name:"meta.include.jison",patterns:[{include:"#include_paths"}]}]},include_paths:{patterns:[{include:"#quoted_strings"},{begin:/(?=\P{space})/dgv,end:/(?=\p{space})/dgv,name:"string.unquoted.jison",patterns:[{include:"source.js#string_escapes"}]}]},numbers:{patterns:[{captures:{"1":{name:"storage.type.number.jison"},"2":{name:"constant.numeric.integer.hexadecimal.jison"}},match:/(0[Xx])(\p{AHex}+)/dgv},{match:/\p{Nd}+/dgv,name:"constant.numeric.integer.decimal.jison"}]},options_declarations:{patterns:[{begin:/%options\b/dgv,beginCaptures:{"0":{name:"keyword.other.options.jison"}},end:/^(?=\P{space}|\p{space}*(?=\n?$))/dgv,name:"meta.options.jison",patterns:[{include:"#comments"},{match:/\b[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"entity.name.constant.jison"},{begin:/(=)\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.operator.option.assignment.jison"}},end:/(?<=["'])|(?=\p{space})/dgv,patterns:[{include:"#comments"},{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.$1.jison"},{include:"#numbers"},{include:"#quoted_strings"},{match:/\P{space}+/dgv,name:"string.unquoted.jison"}]},{include:"#quoted_strings"}]}]},quoted_strings:{patterns:[{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.jison",patterns:[{include:"source.js#string_escapes"}]},{begin:/'/dgv,end:/'/dgv,name:"string.quoted.single.jison",patterns:[{include:"source.js#string_escapes"}]}]},rule_actions:{patterns:[{include:"#actions"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.begin.jison"}},contentName:"source.js.embedded.jison",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.action.end.jison"}},name:"meta.action.jison",patterns:[{include:"source.js"}]},{include:"#include_declarations"},{begin:/->|→/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.arrow.jison"}},contentName:"source.js.embedded.jison",end:/(?=\n?$)/dgv,name:"meta.action.jison",patterns:[{include:"source.js"}]}]},rules_section:{patterns:[{include:"#comments"},{include:"#actions"},{include:"#include_declarations"},{begin:/\b[_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,beginCaptures:{"0":{name:"entity.name.constant.rule-result.jison"}},end:/;/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.jison"}},name:"meta.rule.jison",patterns:[{include:"#comments"},{begin:/:/dgv,beginCaptures:{"0":{name:"keyword.operator.rule-components.assignment.jison"}},end:/(?=;)/dgv,name:"meta.rule-components.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{captures:{"1":{name:"punctuation.definition.named-reference.begin.jison"},"2":{name:"entity.name.other.reference.jison"},"3":{name:"punctuation.definition.named-reference.end.jison"}},match:/(\[)([_\p{Alpha}](?:[\-\p{L}\p{M}\p{N}\p{Pc}]*[\p{L}\p{M}\p{N}\p{Pc}])?)(\])/dgv},{begin:/(%(prec))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.$2.jison"}},end:/(?<=["'])|(?=\p{space})/dgv,name:"meta.prec.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{begin:/(?=\P{space})/dgv,end:/(?=\p{space})/dgv,name:"constant.other.token.jison"}]},{match:/\|/dgv,name:"keyword.operator.rule-components.separator.jison"},{match:/\b(?:EOF|error)\b/dgv,name:"keyword.other.$0.jison"},{match:/(?:%e(?:mpty|psilon)|\b[Ɛɛεϵ])\b/dgv,name:"keyword.other.empty.jison"},{include:"#rule_actions"}]}]}]},user_code_blocks:{patterns:[{begin:/%\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.user-code-block.begin.jison"}},contentName:"source.js.embedded.jison",end:/%\}/dgv,endCaptures:{"0":{name:"punctuation.definition.user-code-block.end.jison"}},name:"meta.user-code-block.jison",patterns:[{include:"source.js"}]}]},user_code_include_declarations:{patterns:[{begin:/^(%(include))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.declaration.$2.jison"}},end:/(?<=["'])|(?=\p{space})/dgv,name:"meta.include.jison",patterns:[{include:"#include_paths"}]}]}},scopeName:"source.jison",embeddedLangs:["javascript"],aliases:undefined})
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
...javascript,
|
package/dist/json.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({displayName:"JSON",name:"json",patterns:[{include:"#value"}],repository:{array:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.json"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.json"}},name:"meta.structure.array.json",patterns:[{include:"#value"},{match:/,/dgv,name:"punctuation.separator.array.json"},{match:/[^\p{space}
|
|
1
|
+
const lang = Object.freeze({displayName:"JSON",name:"json",patterns:[{include:"#value"}],repository:{array:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.json"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.json"}},name:"meta.structure.array.json",patterns:[{include:"#value"},{match:/,/dgv,name:"punctuation.separator.array.json"},{match:/[^\]\p{space}]/dgv,name:"invalid.illegal.expected-array-separator.json"}]},comments:{patterns:[{begin:/\/\*\*(?!\/)/dgv,captures:{"0":{name:"punctuation.definition.comment.json"}},end:/\*\//dgv,name:"comment.block.documentation.json"},{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.json"}},end:/\*\//dgv,name:"comment.block.json"},{captures:{"1":{name:"punctuation.definition.comment.json"}},match:/(\/\/)[^\n]*(?=\n?$)\n?/dgv,name:"comment.line.double-slash.js"}]},constant:{match:/\b(?:true|false|null)\b/dgv,name:"constant.language.json"},number:{match:/-?(?:0|[1-9]\p{Nd}*)(?:(?:\.\p{Nd}+)?(?:[Ee][\-\+]?\p{Nd}+)?)?/dgv,name:"constant.numeric.json"},object:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.json"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.dictionary.end.json"}},name:"meta.structure.dictionary.json",patterns:[{include:"#objectkey"},{include:"#comments"},{begin:/:/dgv,beginCaptures:{"0":{name:"punctuation.separator.dictionary.key-value.json"}},end:/(,)|(?=\})/dgv,endCaptures:{"1":{name:"punctuation.separator.dictionary.pair.json"}},name:"meta.structure.dictionary.value.json",patterns:[{include:"#value"},{match:/[^\,\p{space}]/dgv,name:"invalid.illegal.expected-dictionary-separator.json"}]},{match:/[^\}\p{space}]/dgv,name:"invalid.illegal.expected-dictionary-separator.json"}]},objectkey:{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.support.type.property-name.begin.json"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.support.type.property-name.end.json"}},name:"string.json support.type.property-name.json",patterns:[{include:"#stringcontent"}]},string:{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.json"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.json"}},name:"string.quoted.double.json",patterns:[{include:"#stringcontent"}]},stringcontent:{patterns:[{match:/\\(?:["\/\\bfnrt]|u\p{AHex}{4})/dgv,name:"constant.character.escape.json"},{match:/\\[^\n]/dgv,name:"invalid.illegal.unrecognized-string-escape.json"}]},value:{patterns:[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"}]}},scopeName:"source.json",embeddedLangs:undefined,aliases:undefined})
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/json5.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({displayName:"JSON5",fileTypes:["json5"],name:"json5",patterns:[{include:"#comments"},{include:"#value"}],repository:{array:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.json5"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.json5"}},name:"meta.structure.array.json5",patterns:[{include:"#comments"},{include:"#value"},{match:/,/dgv,name:"punctuation.separator.array.json5"},{match:/[^\p{space}
|
|
1
|
+
const lang = Object.freeze({displayName:"JSON5",fileTypes:["json5"],name:"json5",patterns:[{include:"#comments"},{include:"#value"}],repository:{array:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.json5"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.json5"}},name:"meta.structure.array.json5",patterns:[{include:"#comments"},{include:"#value"},{match:/,/dgv,name:"punctuation.separator.array.json5"},{match:/[^\]\p{space}]/dgv,name:"invalid.illegal.expected-array-separator.json5"}]},comments:{patterns:[{match:/\/{2}[^\n]*/dgv,name:"comment.single.json5"},{begin:/\/\*\*(?!\/)/dgv,captures:{"0":{name:"punctuation.definition.comment.json5"}},end:/\*\//dgv,name:"comment.block.documentation.json5"},{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.json5"}},end:/\*\//dgv,name:"comment.block.json5"}]},constant:{match:/\b(?:true|false|null|Infinity|NaN)\b/dgv,name:"constant.language.json5"},infinity:{match:/(-)*\b(?:Infinity|NaN)\b/dgv,name:"constant.language.json5"},key:{name:"string.key.json5",patterns:[{include:"#stringSingle"},{include:"#stringDouble"},{match:/[\-0-9A-Z_a-z]/dgv,name:"string.key.json5"}]},number:{patterns:[{match:/(0x)[0-9A-f]*/dgv,name:"constant.hex.numeric.json5"},{match:/[\+-\.]?(?=[1-9]|0(?!\p{Nd}))\p{Nd}+(\.\p{Nd}+)?([Ee][\-\+]?\p{Nd}+)?/dgv,name:"constant.dec.numeric.json5"}]},object:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.json5"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.dictionary.end.json5"}},name:"meta.structure.dictionary.json5",patterns:[{include:"#comments"},{include:"#key"},{begin:/:/dgv,beginCaptures:{"0":{name:"punctuation.separator.dictionary.key-value.json5"}},end:/(,)|(?=\})/dgv,endCaptures:{"1":{name:"punctuation.separator.dictionary.pair.json5"}},name:"meta.structure.dictionary.value.json5",patterns:[{include:"#value"},{match:/[^\,\p{space}]/dgv,name:"invalid.illegal.expected-dictionary-separator.json5"}]},{match:/[^\}\p{space}]/dgv,name:"invalid.illegal.expected-dictionary-separator.json5"}]},stringDouble:{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.json5"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.json5"}},name:"string.quoted.json5",patterns:[{match:/\\(?:["\/\\bfnrt]|u\p{AHex}{4})/dgv,name:"constant.character.escape.json5"},{match:/\\[^\n]/dgv,name:"invalid.illegal.unrecognized-string-escape.json5"}]},stringSingle:{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.json5"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.json5"}},name:"string.quoted.json5",patterns:[{match:/\\(?:["\/\\bfnrt]|u\p{AHex}{4})/dgv,name:"constant.character.escape.json5"},{match:/\\[^\n]/dgv,name:"invalid.illegal.unrecognized-string-escape.json5"}]},value:{patterns:[{include:"#constant"},{include:"#infinity"},{include:"#number"},{include:"#stringSingle"},{include:"#stringDouble"},{include:"#array"},{include:"#object"}]}},scopeName:"source.json5",embeddedLangs:undefined,aliases:undefined})
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/jsonc.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({displayName:"JSON with Comments",name:"jsonc",patterns:[{include:"#value"}],repository:{array:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.json.comments"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.json.comments"}},name:"meta.structure.array.json.comments",patterns:[{include:"#value"},{match:/,/dgv,name:"punctuation.separator.array.json.comments"},{match:/[^\p{space}
|
|
1
|
+
const lang = Object.freeze({displayName:"JSON with Comments",name:"jsonc",patterns:[{include:"#value"}],repository:{array:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.json.comments"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.json.comments"}},name:"meta.structure.array.json.comments",patterns:[{include:"#value"},{match:/,/dgv,name:"punctuation.separator.array.json.comments"},{match:/[^\]\p{space}]/dgv,name:"invalid.illegal.expected-array-separator.json.comments"}]},comments:{patterns:[{begin:/\/\*\*(?!\/)/dgv,captures:{"0":{name:"punctuation.definition.comment.json.comments"}},end:/\*\//dgv,name:"comment.block.documentation.json.comments"},{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.json.comments"}},end:/\*\//dgv,name:"comment.block.json.comments"},{captures:{"1":{name:"punctuation.definition.comment.json.comments"}},match:/(\/\/)[^\n]*(?=\n?$)\n?/dgv,name:"comment.line.double-slash.js"}]},constant:{match:/\b(?:true|false|null)\b/dgv,name:"constant.language.json.comments"},number:{match:/-?(?:0|[1-9]\p{Nd}*)(?:(?:\.\p{Nd}+)?(?:[Ee][\-\+]?\p{Nd}+)?)?/dgv,name:"constant.numeric.json.comments"},object:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.json.comments"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.dictionary.end.json.comments"}},name:"meta.structure.dictionary.json.comments",patterns:[{include:"#objectkey"},{include:"#comments"},{begin:/:/dgv,beginCaptures:{"0":{name:"punctuation.separator.dictionary.key-value.json.comments"}},end:/(,)|(?=\})/dgv,endCaptures:{"1":{name:"punctuation.separator.dictionary.pair.json.comments"}},name:"meta.structure.dictionary.value.json.comments",patterns:[{include:"#value"},{match:/[^\,\p{space}]/dgv,name:"invalid.illegal.expected-dictionary-separator.json.comments"}]},{match:/[^\}\p{space}]/dgv,name:"invalid.illegal.expected-dictionary-separator.json.comments"}]},objectkey:{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.support.type.property-name.begin.json.comments"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.support.type.property-name.end.json.comments"}},name:"string.json.comments support.type.property-name.json.comments",patterns:[{include:"#stringcontent"}]},string:{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.json.comments"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.json.comments"}},name:"string.quoted.double.json.comments",patterns:[{include:"#stringcontent"}]},stringcontent:{patterns:[{match:/\\(?:["\/\\bfnrt]|u\p{AHex}{4})/dgv,name:"constant.character.escape.json.comments"},{match:/\\[^\n]/dgv,name:"invalid.illegal.unrecognized-string-escape.json.comments"}]},value:{patterns:[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"}]}},scopeName:"source.json.comments",embeddedLangs:undefined,aliases:undefined})
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/jsonl.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({displayName:"JSON Lines",name:"jsonl",patterns:[{include:"#value"}],repository:{array:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.json.lines"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.json.lines"}},name:"meta.structure.array.json.lines",patterns:[{include:"#value"},{match:/,/dgv,name:"punctuation.separator.array.json.lines"},{match:/[^\p{space}
|
|
1
|
+
const lang = Object.freeze({displayName:"JSON Lines",name:"jsonl",patterns:[{include:"#value"}],repository:{array:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.array.begin.json.lines"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.json.lines"}},name:"meta.structure.array.json.lines",patterns:[{include:"#value"},{match:/,/dgv,name:"punctuation.separator.array.json.lines"},{match:/[^\]\p{space}]/dgv,name:"invalid.illegal.expected-array-separator.json.lines"}]},comments:{patterns:[{begin:/\/\*\*(?!\/)/dgv,captures:{"0":{name:"punctuation.definition.comment.json.lines"}},end:/\*\//dgv,name:"comment.block.documentation.json.lines"},{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.json.lines"}},end:/\*\//dgv,name:"comment.block.json.lines"},{captures:{"1":{name:"punctuation.definition.comment.json.lines"}},match:/(\/\/)[^\n]*(?=\n?$)\n?/dgv,name:"comment.line.double-slash.js"}]},constant:{match:/\b(?:true|false|null)\b/dgv,name:"constant.language.json.lines"},number:{match:/-?(?:0|[1-9]\p{Nd}*)(?:(?:\.\p{Nd}+)?(?:[Ee][\-\+]?\p{Nd}+)?)?/dgv,name:"constant.numeric.json.lines"},object:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.json.lines"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.dictionary.end.json.lines"}},name:"meta.structure.dictionary.json.lines",patterns:[{include:"#objectkey"},{include:"#comments"},{begin:/:/dgv,beginCaptures:{"0":{name:"punctuation.separator.dictionary.key-value.json.lines"}},end:/(,)|(?=\})/dgv,endCaptures:{"1":{name:"punctuation.separator.dictionary.pair.json.lines"}},name:"meta.structure.dictionary.value.json.lines",patterns:[{include:"#value"},{match:/[^\,\p{space}]/dgv,name:"invalid.illegal.expected-dictionary-separator.json.lines"}]},{match:/[^\}\p{space}]/dgv,name:"invalid.illegal.expected-dictionary-separator.json.lines"}]},objectkey:{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.support.type.property-name.begin.json.lines"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.support.type.property-name.end.json.lines"}},name:"string.json.lines support.type.property-name.json.lines",patterns:[{include:"#stringcontent"}]},string:{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.json.lines"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.json.lines"}},name:"string.quoted.double.json.lines",patterns:[{include:"#stringcontent"}]},stringcontent:{patterns:[{match:/\\(?:["\/\\bfnrt]|u\p{AHex}{4})/dgv,name:"constant.character.escape.json.lines"},{match:/\\[^\n]/dgv,name:"invalid.illegal.unrecognized-string-escape.json.lines"}]},value:{patterns:[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"}]}},scopeName:"source.json.lines",embeddedLangs:undefined,aliases:undefined})
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/jsonnet.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({displayName:"Jsonnet",name:"jsonnet",patterns:[{include:"#expression"},{include:"#keywords"}],repository:{"builtin-functions":{patterns:[{match:/\bstd\.(acos|asin|atan|ceil|char|codepoint|cos|exp|exponent)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(filter|floor|force|length|log|makeArray|mantissa)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(objectFields|objectHas|pow|sin|sqrt|tan|type|thisFile)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(acos|asin|atan|ceil|char|codepoint|cos|exp|exponent)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(abs|assertEqual|escapeString(Bash|Dollars|Json|Python))\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(filterMap|flattenArrays|foldl|foldr|format|join)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(lines|manifest(Ini|Python(Vars)?)|map|max|min|mod)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(s(?:et
|
|
1
|
+
const lang = Object.freeze({displayName:"Jsonnet",name:"jsonnet",patterns:[{include:"#expression"},{include:"#keywords"}],repository:{"builtin-functions":{patterns:[{match:/\bstd\.(acos|asin|atan|ceil|char|codepoint|cos|exp|exponent)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(filter|floor|force|length|log|makeArray|mantissa)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(objectFields|objectHas|pow|sin|sqrt|tan|type|thisFile)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(acos|asin|atan|ceil|char|codepoint|cos|exp|exponent)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(abs|assertEqual|escapeString(Bash|Dollars|Json|Python))\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(filterMap|flattenArrays|foldl|foldr|format|join)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(lines|manifest(Ini|Python(Vars)?)|map|max|min|mod)\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(s(?:et(Diff|Inter|Member|Union)??|ort))\b/dgv,name:"support.function.jsonnet"},{match:/\bstd\.(range|split|stringChars|substr|toString|uniq)\b/dgv,name:"support.function.jsonnet"}]},comment:{patterns:[{begin:/\/\*/dgv,end:/\*\//dgv,name:"comment.block.jsonnet"},{match:/\/\/[^\n]*(?=\n?$)/dgv,name:"comment.line.jsonnet"},{match:/#[^\n]*(?=\n?$)/dgv,name:"comment.block.jsonnet"}]},"double-quoted-strings":{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.jsonnet",patterns:[{match:/\\(["\/\\bfnrt]|(u\p{AHex}{4}))/dgv,name:"constant.character.escape.jsonnet"},{match:/\\[^"\/\\bfnrtu]/dgv,name:"invalid.illegal.jsonnet"}]},expression:{patterns:[{include:"#literals"},{include:"#comment"},{include:"#single-quoted-strings"},{include:"#double-quoted-strings"},{include:"#triple-quoted-strings"},{include:"#builtin-functions"},{include:"#functions"}]},functions:{patterns:[{begin:/\b([A-Z_a-z][0-9A-Z_a-z]*)\p{space}*\(/dgv,beginCaptures:{"1":{name:"entity.name.function.jsonnet"}},end:/\)/dgv,name:"meta.function",patterns:[{include:"#expression"}]}]},keywords:{patterns:[{match:/[\-\!\%\&\*\+\/\:\<\=\>\^\|\~]/dgv,name:"keyword.operator.jsonnet"},{match:/\$/dgv,name:"keyword.other.jsonnet"},{match:/\b(self|super|import|importstr|local|tailstrict)\b/dgv,name:"keyword.other.jsonnet"},{match:/\b(if|then|else|for|in|error|assert)\b/dgv,name:"keyword.control.jsonnet"},{match:/\b(function)\b/dgv,name:"storage.type.jsonnet"},{match:/[A-Z_a-z][0-9A-Z_a-z]*\p{space}*(\+??:::)/dgv,name:"variable.parameter.jsonnet"},{match:/[A-Z_a-z][0-9A-Z_a-z]*\p{space}*(\+??::)/dgv,name:"entity.name.type"},{match:/[A-Z_a-z][0-9A-Z_a-z]*\p{space}*(\+??:)/dgv,name:"variable.parameter.jsonnet"}]},literals:{patterns:[{match:/\b(true|false|null)\b/dgv,name:"constant.language.jsonnet"},{match:/\b(\p{Nd}+([Ee][\-\+]?\p{Nd}+)?)\b/dgv,name:"constant.numeric.jsonnet"},{match:/\b\p{Nd}+\.\p{Nd}*([Ee][\-\+]?\p{Nd}+)?\b/dgv,name:"constant.numeric.jsonnet"},{match:/\b\.\p{Nd}+([Ee][\-\+]?\p{Nd}+)?\b/dgv,name:"constant.numeric.jsonnet"}]},"single-quoted-strings":{begin:/'/dgv,end:/'/dgv,name:"string.quoted.double.jsonnet",patterns:[{match:/\\(['\/\\bfnrt]|(u\p{AHex}{4}))/dgv,name:"constant.character.escape.jsonnet"},{match:/\\[^'\/\\bfnrtu]/dgv,name:"invalid.illegal.jsonnet"}]},"triple-quoted-strings":{patterns:[{begin:/\|\|\|/dgv,end:/\|\|\|/dgv,name:"string.quoted.triple.jsonnet"}]}},scopeName:"source.jsonnet",embeddedLangs:undefined,aliases:undefined})
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/jssm.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({displayName:"JSSM",fileTypes:["jssm","jssm_state"],name:"jssm",patterns:[{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.mn"}},end:/\*\//dgv,name:"comment.block.jssm"},{begin:/\/\//dgv,end:/(?=\n?$)/dgv,name:"comment.line.jssm"},{begin:/\$\{/dgv,captures:{"0":{name:"entity.name.function"}},end:/\}/dgv,name:"keyword.other"},{match:/([0-9]*)(\.)([0-9]*)(\.)([0-9]*)/dgv,name:"constant.numeric"},{match:/graph_layout(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{match:/machine_name(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{match:/machine_version(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{match:/jssm_version(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{match:/<->/dgv,name:"keyword.control.transition.jssmArrow.legal_legal"},{match:/<-/dgv,name:"keyword.control.transition.jssmArrow.legal_none"},{match:/->/dgv,name:"keyword.control.transition.jssmArrow.none_legal"},{match:/<=>/dgv,name:"keyword.control.transition.jssmArrow.main_main"},{match:/=>/dgv,name:"keyword.control.transition.jssmArrow.none_main"},{match:/<=/dgv,name:"keyword.control.transition.jssmArrow.main_none"},{match:/<~>/dgv,name:"keyword.control.transition.jssmArrow.forced_forced"},{match:/~>/dgv,name:"keyword.control.transition.jssmArrow.none_forced"},{match:/<~/dgv,name:"keyword.control.transition.jssmArrow.forced_none"},{match:/<-=>/dgv,name:"keyword.control.transition.jssmArrow.legal_main"},{match:/<=->/dgv,name:"keyword.control.transition.jssmArrow.main_legal"},{match:/<-~>/dgv,name:"keyword.control.transition.jssmArrow.legal_forced"},{match:/<~->/dgv,name:"keyword.control.transition.jssmArrow.forced_legal"},{match:/<=~>/dgv,name:"keyword.control.transition.jssmArrow.main_forced"},{match:/<~=>/dgv,name:"keyword.control.transition.jssmArrow.forced_main"},{match:/([0-9]+)%/dgv,name:"constant.numeric.jssmProbability"},{match:/'[^']*'/dgv,name:"constant.character.jssmAction"},{match:/"[^"]*"/dgv,name:"entity.name.tag.jssmLabel.doublequoted"},{match:/([
|
|
1
|
+
const lang = Object.freeze({displayName:"JSSM",fileTypes:["jssm","jssm_state"],name:"jssm",patterns:[{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.mn"}},end:/\*\//dgv,name:"comment.block.jssm"},{begin:/\/\//dgv,end:/(?=\n?$)/dgv,name:"comment.line.jssm"},{begin:/\$\{/dgv,captures:{"0":{name:"entity.name.function"}},end:/\}/dgv,name:"keyword.other"},{match:/([0-9]*)(\.)([0-9]*)(\.)([0-9]*)/dgv,name:"constant.numeric"},{match:/graph_layout(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{match:/machine_name(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{match:/machine_version(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{match:/jssm_version(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{match:/<->/dgv,name:"keyword.control.transition.jssmArrow.legal_legal"},{match:/<-/dgv,name:"keyword.control.transition.jssmArrow.legal_none"},{match:/->/dgv,name:"keyword.control.transition.jssmArrow.none_legal"},{match:/<=>/dgv,name:"keyword.control.transition.jssmArrow.main_main"},{match:/=>/dgv,name:"keyword.control.transition.jssmArrow.none_main"},{match:/<=/dgv,name:"keyword.control.transition.jssmArrow.main_none"},{match:/<~>/dgv,name:"keyword.control.transition.jssmArrow.forced_forced"},{match:/~>/dgv,name:"keyword.control.transition.jssmArrow.none_forced"},{match:/<~/dgv,name:"keyword.control.transition.jssmArrow.forced_none"},{match:/<-=>/dgv,name:"keyword.control.transition.jssmArrow.legal_main"},{match:/<=->/dgv,name:"keyword.control.transition.jssmArrow.main_legal"},{match:/<-~>/dgv,name:"keyword.control.transition.jssmArrow.legal_forced"},{match:/<~->/dgv,name:"keyword.control.transition.jssmArrow.forced_legal"},{match:/<=~>/dgv,name:"keyword.control.transition.jssmArrow.main_forced"},{match:/<~=>/dgv,name:"keyword.control.transition.jssmArrow.forced_main"},{match:/([0-9]+)%/dgv,name:"constant.numeric.jssmProbability"},{match:/'[^']*'/dgv,name:"constant.character.jssmAction"},{match:/"[^"]*"/dgv,name:"entity.name.tag.jssmLabel.doublequoted"},{match:/([\!\#\&\(\)\+\,\.0-9\?-Z_a-z])/dgv,name:"entity.name.tag.jssmLabel.atom"}],scopeName:"source.jssm",embeddedLangs:undefined,aliases:["fsl"]})
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|