vite-plugin-vue-devtools 7.2.0 → 7.3.0-beta.1
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/client/assets/index-DhLLQ7AJ.css +1 -0
- package/client/assets/{index-CDBAuZCi.js → index-I7cYn7yD.js} +112 -113
- package/client/assets/{unocss-runtime-C2aH1Jer.js → unocss-runtime-DET60yni.js} +2 -2
- package/client/assets/{vue-yccoFuXf-q8nGVquG.js → vue-CCacahFR-CRnm5w84.js} +2 -2
- package/client/assets/{vue-CMvPPucx.js → vue-CpF6k_42.js} +2 -2
- package/client/assets/{vue-html-PWeNQaIl-ChlIBMe8.js → vue-html-Cae35ipv-514FnJ3-.js} +1 -1
- package/client/assets/{vue-html-DxgvOoVJ.js → vue-html-aHkQr8H2.js} +1 -1
- package/client/css-CAzixsid-CEpuX1HY.js +511 -0
- package/client/css-CAzixsid.js +511 -0
- package/client/devtools-panel.css +1 -0
- package/client/devtools-panel.js +92963 -0
- package/client/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
- package/client/diff-Bo5iyMQ2.js +7 -0
- package/client/html-BZB5lEhh-B74zAnWx.js +84 -0
- package/client/html-BZB5lEhh.js +84 -0
- package/client/index.html +2 -2
- package/client/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
- package/client/javascript-DqVBMyXe.js +705 -0
- package/client/json-B12k4-6m-B12k4-6m.js +31 -0
- package/client/json-B12k4-6m.js +31 -0
- package/client/shellscript-C_gmBC5P-C_gmBC5P.js +7 -0
- package/client/shellscript-C_gmBC5P.js +7 -0
- package/client/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
- package/client/typescript-AEg-ehu7.js +672 -0
- package/client/unocss-runtime-CysDdJDT.js +2041 -0
- package/client/vitesse-dark-CkUHDarG-CkUHDarG.js +685 -0
- package/client/vitesse-dark-CkUHDarG.js +685 -0
- package/client/vitesse-light-K81-viQS-K81-viQS.js +683 -0
- package/client/vitesse-light-K81-viQS.js +683 -0
- package/client/vue-CCacahFR-DGkPCBY5.js +2125 -0
- package/client/vue-CCacahFR.js +2125 -0
- package/client/vue-apis-Ba6Wxigc.js +1152 -0
- package/client/vue-html-Cae35ipv-C0hVhFzJ.js +11 -0
- package/client/vue-html-Cae35ipv.js +11 -0
- package/client/yaml-PGla5xPP-HJurM_FJ.js +206 -0
- package/client/yaml-PGla5xPP.js +206 -0
- package/dist/vite.cjs +140 -114
- package/dist/vite.d.cts +3 -17
- package/dist/vite.d.mts +3 -17
- package/dist/vite.d.ts +3 -17
- package/dist/vite.mjs +141 -115
- package/package.json +6 -6
- package/src/overlay/devtools-overlay.css +1 -1
- package/src/overlay/devtools-overlay.js +2 -2
- package/src/overlay/devtools-overlay.mjs +8 -0
- package/src/overlay.js +10 -4
- package/client/assets/index-Cka_f-Nd.css +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import t from "./vue-CCacahFR-DGkPCBY5.js";
|
|
2
|
+
import e from "./javascript-DqVBMyXe-DqVBMyXe.js";
|
|
3
|
+
const n = Object.freeze({ displayName: "Vue HTML", fileTypes: [], name: "vue-html", patterns: [{ include: "source.vue#vue-interpolations" }, { begin: "(<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "support.class.component.html" } }, end: "(>)(<)(/)(\\2)(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" }, 2: { name: "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" }, 3: { name: "punctuation.definition.tag.begin.html" }, 4: { name: "support.class.component.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "(>)(<)(/)(\\2)(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" }, 2: { name: "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" }, 3: { name: "punctuation.definition.tag.begin.html" }, 4: { name: "entity.name.tag.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(<\\?)(xml)", captures: { 1: { name: "punctuation.definition.tag.html" }, 2: { name: "entity.name.tag.xml.html" } }, end: "(\\?>)", name: "meta.tag.preprocessor.xml.html", patterns: [{ include: "#tag-generic-attribute" }, { include: "#string-double-quoted" }, { include: "#string-single-quoted" }] }, { begin: "<!--", captures: { 0: { name: "punctuation.definition.comment.html" } }, end: "-->", name: "comment.block.html" }, { begin: "<!", captures: { 0: { name: "punctuation.definition.tag.html" } }, end: ">", name: "meta.tag.sgml.html", patterns: [{ begin: "(?i:DOCTYPE)", captures: { 1: { name: "entity.name.tag.doctype.html" } }, end: "(?=>)", name: "meta.tag.sgml.doctype.html", patterns: [{ match: '"[^">]*"', name: "string.quoted.double.doctype.identifiers-and-DTDs.html" }] }, { begin: "\\[CDATA\\[", end: "]](?=>)", name: "constant.other.inline-data.html" }, { match: "(\\s*)(?!--|>)\\S(\\s*)", name: "invalid.illegal.bad-comments-or-CDATA.html" }] }, { begin: "(</?)([A-Z][a-zA-Z0-9:-]*\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "support.class.component.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.block.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)([a-z][a-zA-Z0-9:-]*\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.block.any.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.block.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)((?i:body|head|html)\\b)", captures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.structure.any.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.block.any.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.block.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-)\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.inline.any.html" } }, end: "(/?>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)([a-zA-Z0-9:-]+)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.other.html" } }, end: "(/?>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.html", patterns: [{ include: "#tag-stuff" }] }, { include: "#entities" }, { match: "<>", name: "invalid.illegal.incomplete.html" }, { match: "<", name: "invalid.illegal.bad-angle-bracket.html" }], repository: { entities: { patterns: [{ captures: { 1: { name: "punctuation.definition.entity.html" }, 3: { name: "punctuation.definition.entity.html" } }, match: "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)", name: "constant.character.entity.html" }, { match: "&", name: "invalid.illegal.bad-ampersand.html" }] }, "string-double-quoted": { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "string.quoted.double.html", patterns: [{ include: "source.vue#vue-interpolations" }, { include: "#entities" }] }, "string-single-quoted": { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "string.quoted.single.html", patterns: [{ include: "source.vue#vue-interpolations" }, { include: "#entities" }] }, "tag-generic-attribute": { match: "(?<=[^=])\\b([a-zA-Z0-9:\\-_]+)", name: "entity.other.attribute-name.html" }, "tag-id-attribute": { begin: "\\b(id)\\b\\s*(=)", captures: { 1: { name: "entity.other.attribute-name.id.html" }, 2: { name: "punctuation.separator.key-value.html" } }, end: `(?!\\G)(?<='|"|[^\\s<>/])`, name: "meta.attribute-with-value.id.html", patterns: [{ begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, contentName: "meta.toc-list.id.html", end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "string.quoted.double.html", patterns: [{ include: "source.vue#vue-interpolations" }, { include: "#entities" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, contentName: "meta.toc-list.id.html", end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "string.quoted.single.html", patterns: [{ include: "source.vue#vue-interpolations" }, { include: "#entities" }] }, { captures: { 0: { name: "meta.toc-list.id.html" } }, match: `(?<==)(?:[^\\s<>/'"]|/(?!>))+`, name: "string.unquoted.html" }] }, "tag-stuff": { patterns: [{ include: "#vue-directives" }, { include: "#tag-id-attribute" }, { include: "#tag-generic-attribute" }, { include: "#string-double-quoted" }, { include: "#string-single-quoted" }, { include: "#unquoted-attribute" }] }, "unquoted-attribute": { match: `(?<==)(?:[^\\s<>/'"]|/(?!>))+`, name: "string.unquoted.html" }, "vue-directives": { begin: "(?:\\b(v-)|(:|@|#))([a-zA-Z0-9\\-_]+)(?:\\:([a-zA-Z\\-_]+))?(?:\\.([a-zA-Z\\-_]+))*\\s*(=)", captures: { 1: { name: "entity.other.attribute-name.html" }, 2: { name: "punctuation.separator.key-value.html" }, 3: { name: "entity.other.attribute-name.html" }, 4: { name: "entity.other.attribute-name.html" }, 5: { name: "entity.other.attribute-name.html" }, 6: { name: "punctuation.separator.key-value.html" } }, end: "(?<='|\")|(?=[\\s<>`])", name: "meta.directive.vue", patterns: [{ begin: "`", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "`", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }] } }, scopeName: "text.html.vue-html", embeddedLangs: ["vue", "javascript"] });
|
|
4
|
+
var m = [
|
|
5
|
+
...t,
|
|
6
|
+
...e,
|
|
7
|
+
n
|
|
8
|
+
];
|
|
9
|
+
export {
|
|
10
|
+
m as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import t from "./vue-CCacahFR.js";
|
|
2
|
+
import e from "./javascript-DqVBMyXe.js";
|
|
3
|
+
const n = Object.freeze({ displayName: "Vue HTML", fileTypes: [], name: "vue-html", patterns: [{ include: "source.vue#vue-interpolations" }, { begin: "(<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "support.class.component.html" } }, end: "(>)(<)(/)(\\2)(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" }, 2: { name: "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" }, 3: { name: "punctuation.definition.tag.begin.html" }, 4: { name: "support.class.component.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.html" } }, end: "(>)(<)(/)(\\2)(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" }, 2: { name: "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" }, 3: { name: "punctuation.definition.tag.begin.html" }, 4: { name: "entity.name.tag.html" }, 5: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(<\\?)(xml)", captures: { 1: { name: "punctuation.definition.tag.html" }, 2: { name: "entity.name.tag.xml.html" } }, end: "(\\?>)", name: "meta.tag.preprocessor.xml.html", patterns: [{ include: "#tag-generic-attribute" }, { include: "#string-double-quoted" }, { include: "#string-single-quoted" }] }, { begin: "<!--", captures: { 0: { name: "punctuation.definition.comment.html" } }, end: "-->", name: "comment.block.html" }, { begin: "<!", captures: { 0: { name: "punctuation.definition.tag.html" } }, end: ">", name: "meta.tag.sgml.html", patterns: [{ begin: "(?i:DOCTYPE)", captures: { 1: { name: "entity.name.tag.doctype.html" } }, end: "(?=>)", name: "meta.tag.sgml.doctype.html", patterns: [{ match: '"[^">]*"', name: "string.quoted.double.doctype.identifiers-and-DTDs.html" }] }, { begin: "\\[CDATA\\[", end: "]](?=>)", name: "constant.other.inline-data.html" }, { match: "(\\s*)(?!--|>)\\S(\\s*)", name: "invalid.illegal.bad-comments-or-CDATA.html" }] }, { begin: "(</?)([A-Z][a-zA-Z0-9:-]*\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "support.class.component.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.block.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)([a-z][a-zA-Z0-9:-]*\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.block.any.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.block.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)((?i:body|head|html)\\b)", captures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.structure.any.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.structure.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.block.any.html" } }, end: "(>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.block.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-)\\b)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.inline.any.html" } }, end: "(/?>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.inline.any.html", patterns: [{ include: "#tag-stuff" }] }, { begin: "(</?)([a-zA-Z0-9:-]+)", beginCaptures: { 1: { name: "punctuation.definition.tag.begin.html" }, 2: { name: "entity.name.tag.other.html" } }, end: "(/?>)", endCaptures: { 1: { name: "punctuation.definition.tag.end.html" } }, name: "meta.tag.other.html", patterns: [{ include: "#tag-stuff" }] }, { include: "#entities" }, { match: "<>", name: "invalid.illegal.incomplete.html" }, { match: "<", name: "invalid.illegal.bad-angle-bracket.html" }], repository: { entities: { patterns: [{ captures: { 1: { name: "punctuation.definition.entity.html" }, 3: { name: "punctuation.definition.entity.html" } }, match: "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)", name: "constant.character.entity.html" }, { match: "&", name: "invalid.illegal.bad-ampersand.html" }] }, "string-double-quoted": { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "string.quoted.double.html", patterns: [{ include: "source.vue#vue-interpolations" }, { include: "#entities" }] }, "string-single-quoted": { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "string.quoted.single.html", patterns: [{ include: "source.vue#vue-interpolations" }, { include: "#entities" }] }, "tag-generic-attribute": { match: "(?<=[^=])\\b([a-zA-Z0-9:\\-_]+)", name: "entity.other.attribute-name.html" }, "tag-id-attribute": { begin: "\\b(id)\\b\\s*(=)", captures: { 1: { name: "entity.other.attribute-name.id.html" }, 2: { name: "punctuation.separator.key-value.html" } }, end: `(?!\\G)(?<='|"|[^\\s<>/])`, name: "meta.attribute-with-value.id.html", patterns: [{ begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, contentName: "meta.toc-list.id.html", end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "string.quoted.double.html", patterns: [{ include: "source.vue#vue-interpolations" }, { include: "#entities" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, contentName: "meta.toc-list.id.html", end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "string.quoted.single.html", patterns: [{ include: "source.vue#vue-interpolations" }, { include: "#entities" }] }, { captures: { 0: { name: "meta.toc-list.id.html" } }, match: `(?<==)(?:[^\\s<>/'"]|/(?!>))+`, name: "string.unquoted.html" }] }, "tag-stuff": { patterns: [{ include: "#vue-directives" }, { include: "#tag-id-attribute" }, { include: "#tag-generic-attribute" }, { include: "#string-double-quoted" }, { include: "#string-single-quoted" }, { include: "#unquoted-attribute" }] }, "unquoted-attribute": { match: `(?<==)(?:[^\\s<>/'"]|/(?!>))+`, name: "string.unquoted.html" }, "vue-directives": { begin: "(?:\\b(v-)|(:|@|#))([a-zA-Z0-9\\-_]+)(?:\\:([a-zA-Z\\-_]+))?(?:\\.([a-zA-Z\\-_]+))*\\s*(=)", captures: { 1: { name: "entity.other.attribute-name.html" }, 2: { name: "punctuation.separator.key-value.html" }, 3: { name: "entity.other.attribute-name.html" }, 4: { name: "entity.other.attribute-name.html" }, 5: { name: "entity.other.attribute-name.html" }, 6: { name: "punctuation.separator.key-value.html" } }, end: "(?<='|\")|(?=[\\s<>`])", name: "meta.directive.vue", patterns: [{ begin: "`", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "`", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.html" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.html" } }, name: "source.directive.vue", patterns: [{ include: "source.js#expression" }] }] } }, scopeName: "text.html.vue-html", embeddedLangs: ["vue", "javascript"] });
|
|
4
|
+
var m = [
|
|
5
|
+
...t,
|
|
6
|
+
...e,
|
|
7
|
+
n
|
|
8
|
+
];
|
|
9
|
+
export {
|
|
10
|
+
m as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
const e = Object.freeze({ displayName: "YAML", name: "yaml", patterns: [{ include: "#comment" }, { include: "#property" }, { include: "#directive" }, { match: "^---", name: "entity.other.document.begin.yaml" }, { match: "^\\.{3}", name: "entity.other.document.end.yaml" }, { include: "#node" }], repository: { "block-collection": { patterns: [{ include: "#block-sequence" }, { include: "#block-mapping" }] }, "block-mapping": { patterns: [{ include: "#block-pair" }] }, "block-node": { patterns: [{ include: "#prototype" }, { include: "#block-scalar" }, { include: "#block-collection" }, { include: "#flow-scalar-plain-out" }, { include: "#flow-node" }] }, "block-pair": { patterns: [{ begin: "\\?", beginCaptures: { 1: { name: "punctuation.definition.key-value.begin.yaml" } }, end: "(?=\\?)|^ *(:)|(:)", endCaptures: { 1: { name: "punctuation.separator.key-value.mapping.yaml" }, 2: { name: "invalid.illegal.expected-newline.yaml" } }, name: "meta.block-mapping.yaml", patterns: [{ include: "#block-node" }] }, { begin: `(?x)
|
|
2
|
+
(?=
|
|
3
|
+
(?x:
|
|
4
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
5
|
+
| [?:-] \\S
|
|
6
|
+
)
|
|
7
|
+
(
|
|
8
|
+
[^\\s:]
|
|
9
|
+
| : \\S
|
|
10
|
+
| \\s+ (?![#\\s])
|
|
11
|
+
)*
|
|
12
|
+
\\s*
|
|
13
|
+
:
|
|
14
|
+
(\\s|$)
|
|
15
|
+
)
|
|
16
|
+
`, end: `(?x)
|
|
17
|
+
(?=
|
|
18
|
+
\\s* $
|
|
19
|
+
| \\s+ \\#
|
|
20
|
+
| \\s* : (\\s|$)
|
|
21
|
+
)
|
|
22
|
+
`, patterns: [{ include: "#flow-scalar-plain-out-implicit-type" }, { begin: `(?x)
|
|
23
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
24
|
+
| [?:-] \\S
|
|
25
|
+
`, beginCaptures: { 0: { name: "entity.name.tag.yaml" } }, contentName: "entity.name.tag.yaml", end: `(?x)
|
|
26
|
+
(?=
|
|
27
|
+
\\s* $
|
|
28
|
+
| \\s+ \\#
|
|
29
|
+
| \\s* : (\\s|$)
|
|
30
|
+
)
|
|
31
|
+
`, name: "string.unquoted.plain.out.yaml" }] }, { match: ":(?=\\s|$)", name: "punctuation.separator.key-value.mapping.yaml" }] }, "block-scalar": { begin: "(?:(\\|)|(>))([1-9])?([-+])?(.*\\n?)", beginCaptures: { 1: { name: "keyword.control.flow.block-scalar.literal.yaml" }, 2: { name: "keyword.control.flow.block-scalar.folded.yaml" }, 3: { name: "constant.numeric.indentation-indicator.yaml" }, 4: { name: "storage.modifier.chomping-indicator.yaml" }, 5: { patterns: [{ include: "#comment" }, { match: ".+", name: "invalid.illegal.expected-comment-or-newline.yaml" }] } }, end: "^(?=\\S)|(?!\\G)", patterns: [{ begin: "^([ ]+)(?! )", end: "^(?!\\1|\\s*$)", name: "string.unquoted.block.yaml" }] }, "block-sequence": { match: "(-)(?!\\S)", name: "punctuation.definition.block.sequence.item.yaml" }, comment: { begin: "(?:(^[ \\t]*)|[ \\t]+)(?=#\\p{Print}*$)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.yaml" } }, end: "(?!\\G)", patterns: [{ begin: "#", beginCaptures: { 0: { name: "punctuation.definition.comment.yaml" } }, end: "\\n", name: "comment.line.number-sign.yaml" }] }, directive: { begin: "^%", beginCaptures: { 0: { name: "punctuation.definition.directive.begin.yaml" } }, end: "(?=$|[ \\t]+($|#))", name: "meta.directive.yaml", patterns: [{ captures: { 1: { name: "keyword.other.directive.yaml.yaml" }, 2: { name: "constant.numeric.yaml-version.yaml" } }, match: "\\G(YAML)[ \\t]+(\\d+\\.\\d+)" }, { captures: { 1: { name: "keyword.other.directive.tag.yaml" }, 2: { name: "storage.type.tag-handle.yaml" }, 3: { name: "support.type.tag-prefix.yaml" } }, match: `(?x)
|
|
32
|
+
\\G
|
|
33
|
+
(TAG)
|
|
34
|
+
(?:[ \\t]+
|
|
35
|
+
((?:!(?:[0-9A-Za-z\\-]*!)?))
|
|
36
|
+
(?:[ \\t]+ (
|
|
37
|
+
! (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )*
|
|
38
|
+
| (?![,!\\[\\]{}]) (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+
|
|
39
|
+
)
|
|
40
|
+
)?
|
|
41
|
+
)?
|
|
42
|
+
` }, { captures: { 1: { name: "support.other.directive.reserved.yaml" }, 2: { name: "string.unquoted.directive-name.yaml" }, 3: { name: "string.unquoted.directive-parameter.yaml" } }, match: "(?x) \\G (\\w+) (?:[ \\t]+ (\\w+) (?:[ \\t]+ (\\w+))? )?" }, { match: "\\S+", name: "invalid.illegal.unrecognized.yaml" }] }, "flow-alias": { captures: { 1: { name: "keyword.control.flow.alias.yaml" }, 2: { name: "punctuation.definition.alias.yaml" }, 3: { name: "variable.other.alias.yaml" }, 4: { name: "invalid.illegal.character.anchor.yaml" } }, match: "((\\*))([^\\s\\[\\]/{/},]+)([^\\s\\]},]\\S*)?" }, "flow-collection": { patterns: [{ include: "#flow-sequence" }, { include: "#flow-mapping" }] }, "flow-mapping": { begin: "\\{", beginCaptures: { 0: { name: "punctuation.definition.mapping.begin.yaml" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.mapping.end.yaml" } }, name: "meta.flow-mapping.yaml", patterns: [{ include: "#prototype" }, { match: ",", name: "punctuation.separator.mapping.yaml" }, { include: "#flow-pair" }] }, "flow-node": { patterns: [{ include: "#prototype" }, { include: "#flow-alias" }, { include: "#flow-collection" }, { include: "#flow-scalar" }] }, "flow-pair": { patterns: [{ begin: "\\?", beginCaptures: { 0: { name: "punctuation.definition.key-value.begin.yaml" } }, end: "(?=[},\\]])", name: "meta.flow-pair.explicit.yaml", patterns: [{ include: "#prototype" }, { include: "#flow-pair" }, { include: "#flow-node" }, { begin: ":(?=\\s|$|[\\[\\]{},])", beginCaptures: { 0: { name: "punctuation.separator.key-value.mapping.yaml" } }, end: "(?=[},\\]])", patterns: [{ include: "#flow-value" }] }] }, { begin: `(?x)
|
|
43
|
+
(?=
|
|
44
|
+
(?:
|
|
45
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
46
|
+
| [?:-] [^\\s[\\[\\]{},]]
|
|
47
|
+
)
|
|
48
|
+
(
|
|
49
|
+
[^\\s:[\\[\\]{},]]
|
|
50
|
+
| : [^\\s[\\[\\]{},]]
|
|
51
|
+
| \\s+ (?![#\\s])
|
|
52
|
+
)*
|
|
53
|
+
\\s*
|
|
54
|
+
:
|
|
55
|
+
(\\s|$)
|
|
56
|
+
)
|
|
57
|
+
`, end: `(?x)
|
|
58
|
+
(?=
|
|
59
|
+
\\s* $
|
|
60
|
+
| \\s+ \\#
|
|
61
|
+
| \\s* : (\\s|$)
|
|
62
|
+
| \\s* : [\\[\\]{},]
|
|
63
|
+
| \\s* [\\[\\]{},]
|
|
64
|
+
)
|
|
65
|
+
`, name: "meta.flow-pair.key.yaml", patterns: [{ include: "#flow-scalar-plain-in-implicit-type" }, { begin: `(?x)
|
|
66
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
67
|
+
| [?:-] [^\\s[\\[\\]{},]]
|
|
68
|
+
`, beginCaptures: { 0: { name: "entity.name.tag.yaml" } }, contentName: "entity.name.tag.yaml", end: `(?x)
|
|
69
|
+
(?=
|
|
70
|
+
\\s* $
|
|
71
|
+
| \\s+ \\#
|
|
72
|
+
| \\s* : (\\s|$)
|
|
73
|
+
| \\s* : [\\[\\]{},]
|
|
74
|
+
| \\s* [\\[\\]{},]
|
|
75
|
+
)
|
|
76
|
+
`, name: "string.unquoted.plain.in.yaml" }] }, { include: "#flow-node" }, { begin: ":(?=\\s|$|[\\[\\]{},])", captures: { 0: { name: "punctuation.separator.key-value.mapping.yaml" } }, end: "(?=[},\\]])", name: "meta.flow-pair.yaml", patterns: [{ include: "#flow-value" }] }] }, "flow-scalar": { patterns: [{ include: "#flow-scalar-double-quoted" }, { include: "#flow-scalar-single-quoted" }, { include: "#flow-scalar-plain-in" }] }, "flow-scalar-double-quoted": { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.yaml" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.yaml" } }, name: "string.quoted.double.yaml", patterns: [{ match: '\\\\([0abtnvfre "/\\\\N_Lp]|x\\d\\d|u\\d{4}|U\\d{8})', name: "constant.character.escape.yaml" }, { match: "\\\\\\n", name: "constant.character.escape.double-quoted.newline.yaml" }] }, "flow-scalar-plain-in": { patterns: [{ include: "#flow-scalar-plain-in-implicit-type" }, { begin: `(?x)
|
|
77
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
78
|
+
| [?:-] [^\\s[\\[\\]{},]]
|
|
79
|
+
`, end: `(?x)
|
|
80
|
+
(?=
|
|
81
|
+
\\s* $
|
|
82
|
+
| \\s+ \\#
|
|
83
|
+
| \\s* : (\\s|$)
|
|
84
|
+
| \\s* : [\\[\\]{},]
|
|
85
|
+
| \\s* [\\[\\]{},]
|
|
86
|
+
)
|
|
87
|
+
`, name: "string.unquoted.plain.in.yaml" }] }, "flow-scalar-plain-in-implicit-type": { patterns: [{ captures: { 1: { name: "constant.language.null.yaml" }, 2: { name: "constant.language.boolean.yaml" }, 3: { name: "constant.numeric.integer.yaml" }, 4: { name: "constant.numeric.float.yaml" }, 5: { name: "constant.other.timestamp.yaml" }, 6: { name: "constant.language.value.yaml" }, 7: { name: "constant.language.merge.yaml" } }, match: `(?x)
|
|
88
|
+
(?x:
|
|
89
|
+
(null|Null|NULL|~)
|
|
90
|
+
| (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)
|
|
91
|
+
| (
|
|
92
|
+
(?:
|
|
93
|
+
[-+]? 0b [0-1_]+
|
|
94
|
+
| [-+]? 0 [0-7_]+
|
|
95
|
+
| [-+]? (?: 0|[1-9][0-9_]*)
|
|
96
|
+
| [-+]? 0x [0-9a-fA-F_]+
|
|
97
|
+
| [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+
|
|
98
|
+
)
|
|
99
|
+
)
|
|
100
|
+
| (
|
|
101
|
+
(?x:
|
|
102
|
+
[-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)?
|
|
103
|
+
| [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]*
|
|
104
|
+
| [-+]? \\. (?: inf|Inf|INF)
|
|
105
|
+
| \\. (?: nan|NaN|NAN)
|
|
106
|
+
)
|
|
107
|
+
)
|
|
108
|
+
| (
|
|
109
|
+
(?x:
|
|
110
|
+
\\d{4} - \\d{2} - \\d{2}
|
|
111
|
+
| \\d{4}
|
|
112
|
+
- \\d{1,2}
|
|
113
|
+
- \\d{1,2}
|
|
114
|
+
(?: [Tt] | [ \\t]+) \\d{1,2}
|
|
115
|
+
: \\d{2}
|
|
116
|
+
: \\d{2}
|
|
117
|
+
(?: \\.\\d*)?
|
|
118
|
+
(?:
|
|
119
|
+
(?:[ \\t]*) Z
|
|
120
|
+
| [-+] \\d{1,2} (?: :\\d{1,2})?
|
|
121
|
+
)?
|
|
122
|
+
)
|
|
123
|
+
)
|
|
124
|
+
| (=)
|
|
125
|
+
| (<<)
|
|
126
|
+
)
|
|
127
|
+
(?:
|
|
128
|
+
(?=
|
|
129
|
+
\\s* $
|
|
130
|
+
| \\s+ \\#
|
|
131
|
+
| \\s* : (\\s|$)
|
|
132
|
+
| \\s* : [\\[\\]{},]
|
|
133
|
+
| \\s* [\\[\\]{},]
|
|
134
|
+
)
|
|
135
|
+
)
|
|
136
|
+
` }] }, "flow-scalar-plain-out": { patterns: [{ include: "#flow-scalar-plain-out-implicit-type" }, { begin: `(?x)
|
|
137
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
138
|
+
| [?:-] \\S
|
|
139
|
+
`, end: `(?x)
|
|
140
|
+
(?=
|
|
141
|
+
\\s* $
|
|
142
|
+
| \\s+ \\#
|
|
143
|
+
| \\s* : (\\s|$)
|
|
144
|
+
)
|
|
145
|
+
`, name: "string.unquoted.plain.out.yaml" }] }, "flow-scalar-plain-out-implicit-type": { patterns: [{ captures: { 1: { name: "constant.language.null.yaml" }, 2: { name: "constant.language.boolean.yaml" }, 3: { name: "constant.numeric.integer.yaml" }, 4: { name: "constant.numeric.float.yaml" }, 5: { name: "constant.other.timestamp.yaml" }, 6: { name: "constant.language.value.yaml" }, 7: { name: "constant.language.merge.yaml" } }, match: `(?x)
|
|
146
|
+
(?x:
|
|
147
|
+
(null|Null|NULL|~)
|
|
148
|
+
| (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)
|
|
149
|
+
| (
|
|
150
|
+
(?:
|
|
151
|
+
[-+]? 0b [0-1_]+
|
|
152
|
+
| [-+]? 0 [0-7_]+
|
|
153
|
+
| [-+]? (?: 0|[1-9][0-9_]*)
|
|
154
|
+
| [-+]? 0x [0-9a-fA-F_]+
|
|
155
|
+
| [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+
|
|
156
|
+
)
|
|
157
|
+
)
|
|
158
|
+
| (
|
|
159
|
+
(?x:
|
|
160
|
+
[-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)?
|
|
161
|
+
| [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]*
|
|
162
|
+
| [-+]? \\. (?: inf|Inf|INF)
|
|
163
|
+
| \\. (?: nan|NaN|NAN)
|
|
164
|
+
)
|
|
165
|
+
)
|
|
166
|
+
| (
|
|
167
|
+
(?x:
|
|
168
|
+
\\d{4} - \\d{2} - \\d{2}
|
|
169
|
+
| \\d{4}
|
|
170
|
+
- \\d{1,2}
|
|
171
|
+
- \\d{1,2}
|
|
172
|
+
(?: [Tt] | [ \\t]+) \\d{1,2}
|
|
173
|
+
: \\d{2}
|
|
174
|
+
: \\d{2}
|
|
175
|
+
(?: \\.\\d*)?
|
|
176
|
+
(?:
|
|
177
|
+
(?:[ \\t]*) Z
|
|
178
|
+
| [-+] \\d{1,2} (?: :\\d{1,2})?
|
|
179
|
+
)?
|
|
180
|
+
)
|
|
181
|
+
)
|
|
182
|
+
| (=)
|
|
183
|
+
| (<<)
|
|
184
|
+
)
|
|
185
|
+
(?x:
|
|
186
|
+
(?=
|
|
187
|
+
\\s* $
|
|
188
|
+
| \\s+ \\#
|
|
189
|
+
| \\s* : (\\s|$)
|
|
190
|
+
)
|
|
191
|
+
)
|
|
192
|
+
` }] }, "flow-scalar-single-quoted": { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.yaml" } }, end: "'(?!')", endCaptures: { 0: { name: "punctuation.definition.string.end.yaml" } }, name: "string.quoted.single.yaml", patterns: [{ match: "''", name: "constant.character.escape.single-quoted.yaml" }] }, "flow-sequence": { begin: "\\[", beginCaptures: { 0: { name: "punctuation.definition.sequence.begin.yaml" } }, end: "\\]", endCaptures: { 0: { name: "punctuation.definition.sequence.end.yaml" } }, name: "meta.flow-sequence.yaml", patterns: [{ include: "#prototype" }, { match: ",", name: "punctuation.separator.sequence.yaml" }, { include: "#flow-pair" }, { include: "#flow-node" }] }, "flow-value": { patterns: [{ begin: "\\G(?![},\\]])", end: "(?=[},\\]])", name: "meta.flow-pair.value.yaml", patterns: [{ include: "#flow-node" }] }] }, node: { patterns: [{ include: "#block-node" }] }, property: { begin: "(?=!|&)", end: "(?!\\G)", name: "meta.property.yaml", patterns: [{ captures: { 1: { name: "keyword.control.property.anchor.yaml" }, 2: { name: "punctuation.definition.anchor.yaml" }, 3: { name: "entity.name.type.anchor.yaml" }, 4: { name: "invalid.illegal.character.anchor.yaml" } }, match: "\\G((&))([^\\s\\[\\]/{/},]+)(\\S+)?" }, { match: `(?x)
|
|
193
|
+
\\G
|
|
194
|
+
(?:
|
|
195
|
+
! < (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+ >
|
|
196
|
+
| (?:!(?:[0-9A-Za-z\\-]*!)?) (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$_.~*'()] )+
|
|
197
|
+
| !
|
|
198
|
+
)
|
|
199
|
+
(?=\\ |\\t|$)
|
|
200
|
+
`, name: "storage.type.tag-handle.yaml" }, { match: "\\S+", name: "invalid.illegal.tag-handle.yaml" }] }, prototype: { patterns: [{ include: "#comment" }, { include: "#property" }] } }, scopeName: "source.yaml", aliases: ["yml"] });
|
|
201
|
+
var n = [
|
|
202
|
+
e
|
|
203
|
+
];
|
|
204
|
+
export {
|
|
205
|
+
n as default
|
|
206
|
+
};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
const n = Object.freeze({ displayName: "YAML", name: "yaml", patterns: [{ include: "#comment" }, { include: "#property" }, { include: "#directive" }, { match: "^---", name: "entity.other.document.begin.yaml" }, { match: "^\\.{3}", name: "entity.other.document.end.yaml" }, { include: "#node" }], repository: { "block-collection": { patterns: [{ include: "#block-sequence" }, { include: "#block-mapping" }] }, "block-mapping": { patterns: [{ include: "#block-pair" }] }, "block-node": { patterns: [{ include: "#prototype" }, { include: "#block-scalar" }, { include: "#block-collection" }, { include: "#flow-scalar-plain-out" }, { include: "#flow-node" }] }, "block-pair": { patterns: [{ begin: "\\?", beginCaptures: { 1: { name: "punctuation.definition.key-value.begin.yaml" } }, end: "(?=\\?)|^ *(:)|(:)", endCaptures: { 1: { name: "punctuation.separator.key-value.mapping.yaml" }, 2: { name: "invalid.illegal.expected-newline.yaml" } }, name: "meta.block-mapping.yaml", patterns: [{ include: "#block-node" }] }, { begin: `(?x)
|
|
2
|
+
(?=
|
|
3
|
+
(?x:
|
|
4
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
5
|
+
| [?:-] \\S
|
|
6
|
+
)
|
|
7
|
+
(
|
|
8
|
+
[^\\s:]
|
|
9
|
+
| : \\S
|
|
10
|
+
| \\s+ (?![#\\s])
|
|
11
|
+
)*
|
|
12
|
+
\\s*
|
|
13
|
+
:
|
|
14
|
+
(\\s|$)
|
|
15
|
+
)
|
|
16
|
+
`, end: `(?x)
|
|
17
|
+
(?=
|
|
18
|
+
\\s* $
|
|
19
|
+
| \\s+ \\#
|
|
20
|
+
| \\s* : (\\s|$)
|
|
21
|
+
)
|
|
22
|
+
`, patterns: [{ include: "#flow-scalar-plain-out-implicit-type" }, { begin: `(?x)
|
|
23
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
24
|
+
| [?:-] \\S
|
|
25
|
+
`, beginCaptures: { 0: { name: "entity.name.tag.yaml" } }, contentName: "entity.name.tag.yaml", end: `(?x)
|
|
26
|
+
(?=
|
|
27
|
+
\\s* $
|
|
28
|
+
| \\s+ \\#
|
|
29
|
+
| \\s* : (\\s|$)
|
|
30
|
+
)
|
|
31
|
+
`, name: "string.unquoted.plain.out.yaml" }] }, { match: ":(?=\\s|$)", name: "punctuation.separator.key-value.mapping.yaml" }] }, "block-scalar": { begin: "(?:(\\|)|(>))([1-9])?([-+])?(.*\\n?)", beginCaptures: { 1: { name: "keyword.control.flow.block-scalar.literal.yaml" }, 2: { name: "keyword.control.flow.block-scalar.folded.yaml" }, 3: { name: "constant.numeric.indentation-indicator.yaml" }, 4: { name: "storage.modifier.chomping-indicator.yaml" }, 5: { patterns: [{ include: "#comment" }, { match: ".+", name: "invalid.illegal.expected-comment-or-newline.yaml" }] } }, end: "^(?=\\S)|(?!\\G)", patterns: [{ begin: "^([ ]+)(?! )", end: "^(?!\\1|\\s*$)", name: "string.unquoted.block.yaml" }] }, "block-sequence": { match: "(-)(?!\\S)", name: "punctuation.definition.block.sequence.item.yaml" }, comment: { begin: "(?:(^[ \\t]*)|[ \\t]+)(?=#\\p{Print}*$)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.yaml" } }, end: "(?!\\G)", patterns: [{ begin: "#", beginCaptures: { 0: { name: "punctuation.definition.comment.yaml" } }, end: "\\n", name: "comment.line.number-sign.yaml" }] }, directive: { begin: "^%", beginCaptures: { 0: { name: "punctuation.definition.directive.begin.yaml" } }, end: "(?=$|[ \\t]+($|#))", name: "meta.directive.yaml", patterns: [{ captures: { 1: { name: "keyword.other.directive.yaml.yaml" }, 2: { name: "constant.numeric.yaml-version.yaml" } }, match: "\\G(YAML)[ \\t]+(\\d+\\.\\d+)" }, { captures: { 1: { name: "keyword.other.directive.tag.yaml" }, 2: { name: "storage.type.tag-handle.yaml" }, 3: { name: "support.type.tag-prefix.yaml" } }, match: `(?x)
|
|
32
|
+
\\G
|
|
33
|
+
(TAG)
|
|
34
|
+
(?:[ \\t]+
|
|
35
|
+
((?:!(?:[0-9A-Za-z\\-]*!)?))
|
|
36
|
+
(?:[ \\t]+ (
|
|
37
|
+
! (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )*
|
|
38
|
+
| (?![,!\\[\\]{}]) (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+
|
|
39
|
+
)
|
|
40
|
+
)?
|
|
41
|
+
)?
|
|
42
|
+
` }, { captures: { 1: { name: "support.other.directive.reserved.yaml" }, 2: { name: "string.unquoted.directive-name.yaml" }, 3: { name: "string.unquoted.directive-parameter.yaml" } }, match: "(?x) \\G (\\w+) (?:[ \\t]+ (\\w+) (?:[ \\t]+ (\\w+))? )?" }, { match: "\\S+", name: "invalid.illegal.unrecognized.yaml" }] }, "flow-alias": { captures: { 1: { name: "keyword.control.flow.alias.yaml" }, 2: { name: "punctuation.definition.alias.yaml" }, 3: { name: "variable.other.alias.yaml" }, 4: { name: "invalid.illegal.character.anchor.yaml" } }, match: "((\\*))([^\\s\\[\\]/{/},]+)([^\\s\\]},]\\S*)?" }, "flow-collection": { patterns: [{ include: "#flow-sequence" }, { include: "#flow-mapping" }] }, "flow-mapping": { begin: "\\{", beginCaptures: { 0: { name: "punctuation.definition.mapping.begin.yaml" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.mapping.end.yaml" } }, name: "meta.flow-mapping.yaml", patterns: [{ include: "#prototype" }, { match: ",", name: "punctuation.separator.mapping.yaml" }, { include: "#flow-pair" }] }, "flow-node": { patterns: [{ include: "#prototype" }, { include: "#flow-alias" }, { include: "#flow-collection" }, { include: "#flow-scalar" }] }, "flow-pair": { patterns: [{ begin: "\\?", beginCaptures: { 0: { name: "punctuation.definition.key-value.begin.yaml" } }, end: "(?=[},\\]])", name: "meta.flow-pair.explicit.yaml", patterns: [{ include: "#prototype" }, { include: "#flow-pair" }, { include: "#flow-node" }, { begin: ":(?=\\s|$|[\\[\\]{},])", beginCaptures: { 0: { name: "punctuation.separator.key-value.mapping.yaml" } }, end: "(?=[},\\]])", patterns: [{ include: "#flow-value" }] }] }, { begin: `(?x)
|
|
43
|
+
(?=
|
|
44
|
+
(?:
|
|
45
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
46
|
+
| [?:-] [^\\s[\\[\\]{},]]
|
|
47
|
+
)
|
|
48
|
+
(
|
|
49
|
+
[^\\s:[\\[\\]{},]]
|
|
50
|
+
| : [^\\s[\\[\\]{},]]
|
|
51
|
+
| \\s+ (?![#\\s])
|
|
52
|
+
)*
|
|
53
|
+
\\s*
|
|
54
|
+
:
|
|
55
|
+
(\\s|$)
|
|
56
|
+
)
|
|
57
|
+
`, end: `(?x)
|
|
58
|
+
(?=
|
|
59
|
+
\\s* $
|
|
60
|
+
| \\s+ \\#
|
|
61
|
+
| \\s* : (\\s|$)
|
|
62
|
+
| \\s* : [\\[\\]{},]
|
|
63
|
+
| \\s* [\\[\\]{},]
|
|
64
|
+
)
|
|
65
|
+
`, name: "meta.flow-pair.key.yaml", patterns: [{ include: "#flow-scalar-plain-in-implicit-type" }, { begin: `(?x)
|
|
66
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
67
|
+
| [?:-] [^\\s[\\[\\]{},]]
|
|
68
|
+
`, beginCaptures: { 0: { name: "entity.name.tag.yaml" } }, contentName: "entity.name.tag.yaml", end: `(?x)
|
|
69
|
+
(?=
|
|
70
|
+
\\s* $
|
|
71
|
+
| \\s+ \\#
|
|
72
|
+
| \\s* : (\\s|$)
|
|
73
|
+
| \\s* : [\\[\\]{},]
|
|
74
|
+
| \\s* [\\[\\]{},]
|
|
75
|
+
)
|
|
76
|
+
`, name: "string.unquoted.plain.in.yaml" }] }, { include: "#flow-node" }, { begin: ":(?=\\s|$|[\\[\\]{},])", captures: { 0: { name: "punctuation.separator.key-value.mapping.yaml" } }, end: "(?=[},\\]])", name: "meta.flow-pair.yaml", patterns: [{ include: "#flow-value" }] }] }, "flow-scalar": { patterns: [{ include: "#flow-scalar-double-quoted" }, { include: "#flow-scalar-single-quoted" }, { include: "#flow-scalar-plain-in" }] }, "flow-scalar-double-quoted": { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.yaml" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.yaml" } }, name: "string.quoted.double.yaml", patterns: [{ match: '\\\\([0abtnvfre "/\\\\N_Lp]|x\\d\\d|u\\d{4}|U\\d{8})', name: "constant.character.escape.yaml" }, { match: "\\\\\\n", name: "constant.character.escape.double-quoted.newline.yaml" }] }, "flow-scalar-plain-in": { patterns: [{ include: "#flow-scalar-plain-in-implicit-type" }, { begin: `(?x)
|
|
77
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
78
|
+
| [?:-] [^\\s[\\[\\]{},]]
|
|
79
|
+
`, end: `(?x)
|
|
80
|
+
(?=
|
|
81
|
+
\\s* $
|
|
82
|
+
| \\s+ \\#
|
|
83
|
+
| \\s* : (\\s|$)
|
|
84
|
+
| \\s* : [\\[\\]{},]
|
|
85
|
+
| \\s* [\\[\\]{},]
|
|
86
|
+
)
|
|
87
|
+
`, name: "string.unquoted.plain.in.yaml" }] }, "flow-scalar-plain-in-implicit-type": { patterns: [{ captures: { 1: { name: "constant.language.null.yaml" }, 2: { name: "constant.language.boolean.yaml" }, 3: { name: "constant.numeric.integer.yaml" }, 4: { name: "constant.numeric.float.yaml" }, 5: { name: "constant.other.timestamp.yaml" }, 6: { name: "constant.language.value.yaml" }, 7: { name: "constant.language.merge.yaml" } }, match: `(?x)
|
|
88
|
+
(?x:
|
|
89
|
+
(null|Null|NULL|~)
|
|
90
|
+
| (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)
|
|
91
|
+
| (
|
|
92
|
+
(?:
|
|
93
|
+
[-+]? 0b [0-1_]+
|
|
94
|
+
| [-+]? 0 [0-7_]+
|
|
95
|
+
| [-+]? (?: 0|[1-9][0-9_]*)
|
|
96
|
+
| [-+]? 0x [0-9a-fA-F_]+
|
|
97
|
+
| [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+
|
|
98
|
+
)
|
|
99
|
+
)
|
|
100
|
+
| (
|
|
101
|
+
(?x:
|
|
102
|
+
[-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)?
|
|
103
|
+
| [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]*
|
|
104
|
+
| [-+]? \\. (?: inf|Inf|INF)
|
|
105
|
+
| \\. (?: nan|NaN|NAN)
|
|
106
|
+
)
|
|
107
|
+
)
|
|
108
|
+
| (
|
|
109
|
+
(?x:
|
|
110
|
+
\\d{4} - \\d{2} - \\d{2}
|
|
111
|
+
| \\d{4}
|
|
112
|
+
- \\d{1,2}
|
|
113
|
+
- \\d{1,2}
|
|
114
|
+
(?: [Tt] | [ \\t]+) \\d{1,2}
|
|
115
|
+
: \\d{2}
|
|
116
|
+
: \\d{2}
|
|
117
|
+
(?: \\.\\d*)?
|
|
118
|
+
(?:
|
|
119
|
+
(?:[ \\t]*) Z
|
|
120
|
+
| [-+] \\d{1,2} (?: :\\d{1,2})?
|
|
121
|
+
)?
|
|
122
|
+
)
|
|
123
|
+
)
|
|
124
|
+
| (=)
|
|
125
|
+
| (<<)
|
|
126
|
+
)
|
|
127
|
+
(?:
|
|
128
|
+
(?=
|
|
129
|
+
\\s* $
|
|
130
|
+
| \\s+ \\#
|
|
131
|
+
| \\s* : (\\s|$)
|
|
132
|
+
| \\s* : [\\[\\]{},]
|
|
133
|
+
| \\s* [\\[\\]{},]
|
|
134
|
+
)
|
|
135
|
+
)
|
|
136
|
+
` }] }, "flow-scalar-plain-out": { patterns: [{ include: "#flow-scalar-plain-out-implicit-type" }, { begin: `(?x)
|
|
137
|
+
[^\\s[-?:,\\[\\]{}#&*!|>'"%@\`]]
|
|
138
|
+
| [?:-] \\S
|
|
139
|
+
`, end: `(?x)
|
|
140
|
+
(?=
|
|
141
|
+
\\s* $
|
|
142
|
+
| \\s+ \\#
|
|
143
|
+
| \\s* : (\\s|$)
|
|
144
|
+
)
|
|
145
|
+
`, name: "string.unquoted.plain.out.yaml" }] }, "flow-scalar-plain-out-implicit-type": { patterns: [{ captures: { 1: { name: "constant.language.null.yaml" }, 2: { name: "constant.language.boolean.yaml" }, 3: { name: "constant.numeric.integer.yaml" }, 4: { name: "constant.numeric.float.yaml" }, 5: { name: "constant.other.timestamp.yaml" }, 6: { name: "constant.language.value.yaml" }, 7: { name: "constant.language.merge.yaml" } }, match: `(?x)
|
|
146
|
+
(?x:
|
|
147
|
+
(null|Null|NULL|~)
|
|
148
|
+
| (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)
|
|
149
|
+
| (
|
|
150
|
+
(?:
|
|
151
|
+
[-+]? 0b [0-1_]+
|
|
152
|
+
| [-+]? 0 [0-7_]+
|
|
153
|
+
| [-+]? (?: 0|[1-9][0-9_]*)
|
|
154
|
+
| [-+]? 0x [0-9a-fA-F_]+
|
|
155
|
+
| [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+
|
|
156
|
+
)
|
|
157
|
+
)
|
|
158
|
+
| (
|
|
159
|
+
(?x:
|
|
160
|
+
[-+]? (?: [0-9] [0-9_]*)? \\. [0-9.]* (?: [eE] [-+] [0-9]+)?
|
|
161
|
+
| [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \\. [0-9_]*
|
|
162
|
+
| [-+]? \\. (?: inf|Inf|INF)
|
|
163
|
+
| \\. (?: nan|NaN|NAN)
|
|
164
|
+
)
|
|
165
|
+
)
|
|
166
|
+
| (
|
|
167
|
+
(?x:
|
|
168
|
+
\\d{4} - \\d{2} - \\d{2}
|
|
169
|
+
| \\d{4}
|
|
170
|
+
- \\d{1,2}
|
|
171
|
+
- \\d{1,2}
|
|
172
|
+
(?: [Tt] | [ \\t]+) \\d{1,2}
|
|
173
|
+
: \\d{2}
|
|
174
|
+
: \\d{2}
|
|
175
|
+
(?: \\.\\d*)?
|
|
176
|
+
(?:
|
|
177
|
+
(?:[ \\t]*) Z
|
|
178
|
+
| [-+] \\d{1,2} (?: :\\d{1,2})?
|
|
179
|
+
)?
|
|
180
|
+
)
|
|
181
|
+
)
|
|
182
|
+
| (=)
|
|
183
|
+
| (<<)
|
|
184
|
+
)
|
|
185
|
+
(?x:
|
|
186
|
+
(?=
|
|
187
|
+
\\s* $
|
|
188
|
+
| \\s+ \\#
|
|
189
|
+
| \\s* : (\\s|$)
|
|
190
|
+
)
|
|
191
|
+
)
|
|
192
|
+
` }] }, "flow-scalar-single-quoted": { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.yaml" } }, end: "'(?!')", endCaptures: { 0: { name: "punctuation.definition.string.end.yaml" } }, name: "string.quoted.single.yaml", patterns: [{ match: "''", name: "constant.character.escape.single-quoted.yaml" }] }, "flow-sequence": { begin: "\\[", beginCaptures: { 0: { name: "punctuation.definition.sequence.begin.yaml" } }, end: "\\]", endCaptures: { 0: { name: "punctuation.definition.sequence.end.yaml" } }, name: "meta.flow-sequence.yaml", patterns: [{ include: "#prototype" }, { match: ",", name: "punctuation.separator.sequence.yaml" }, { include: "#flow-pair" }, { include: "#flow-node" }] }, "flow-value": { patterns: [{ begin: "\\G(?![},\\]])", end: "(?=[},\\]])", name: "meta.flow-pair.value.yaml", patterns: [{ include: "#flow-node" }] }] }, node: { patterns: [{ include: "#block-node" }] }, property: { begin: "(?=!|&)", end: "(?!\\G)", name: "meta.property.yaml", patterns: [{ captures: { 1: { name: "keyword.control.property.anchor.yaml" }, 2: { name: "punctuation.definition.anchor.yaml" }, 3: { name: "entity.name.type.anchor.yaml" }, 4: { name: "invalid.illegal.character.anchor.yaml" } }, match: "\\G((&))([^\\s\\[\\]/{/},]+)(\\S+)?" }, { match: `(?x)
|
|
193
|
+
\\G
|
|
194
|
+
(?:
|
|
195
|
+
! < (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$,_.!~*'()\\[\\]] )+ >
|
|
196
|
+
| (?:!(?:[0-9A-Za-z\\-]*!)?) (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\\-#;/?:@&=+$_.~*'()] )+
|
|
197
|
+
| !
|
|
198
|
+
)
|
|
199
|
+
(?=\\ |\\t|$)
|
|
200
|
+
`, name: "storage.type.tag-handle.yaml" }, { match: "\\S+", name: "invalid.illegal.tag-handle.yaml" }] }, prototype: { patterns: [{ include: "#comment" }, { include: "#property" }] } }, scopeName: "source.yaml", aliases: ["yml"] });
|
|
201
|
+
var e = [
|
|
202
|
+
n
|
|
203
|
+
];
|
|
204
|
+
export {
|
|
205
|
+
e as default
|
|
206
|
+
};
|