Files
code_tool_fly/VSCode-win32-x64-1.74.0/resources/app/extensions/scss/syntaxes/sassdoc.tmLanguage.json
T

1 line
6.4 KiB
JSON
Raw Normal View History

2025-05-09 16:55:09 +08:00
{"information_for_contributors":["This file has been converted from https://github.com/atom/language-sass/blob/master/grammars/sassdoc.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],"version":"https://github.com/atom/language-sass/commit/303bbf0c250fe380b9e57375598cfd916110758b","name":"SassDoc","scopeName":"source.sassdoc","patterns":[{"match":"(?x)\n((@)(?:access))\n\\s+\n(private|public)\n\\b","captures":{"1":{"name":"storage.type.class.sassdoc"},"2":{"name":"punctuation.definition.block.tag.sassdoc"},"3":{"name":"constant.language.access-type.sassdoc"}}},{"match":"(?x)\n((@)author)\n\\s+\n(\n [^@\\s<>*/]\n (?:[^@<>*/]|\\*[^/])*\n)\n(?:\n \\s*\n (<)\n ([^>\\s]+)\n (>)\n)?","captures":{"1":{"name":"storage.type.class.sassdoc"},"2":{"name":"punctuation.definition.block.tag.sassdoc"},"3":{"name":"entity.name.type.instance.sassdoc"},"4":{"name":"punctuation.definition.bracket.angle.begin.sassdoc"},"5":{"name":"constant.other.email.link.underline.sassdoc"},"6":{"name":"punctuation.definition.bracket.angle.end.sassdoc"}}},{"name":"meta.example.css.scss.sassdoc","begin":"(?x)\n((@)example)\n\\s+\n(css|scss)","end":"(?=@|///$)","beginCaptures":{"1":{"name":"storage.type.class.sassdoc"},"2":{"name":"punctuation.definition.block.tag.sassdoc"},"3":{"name":"variable.other.sassdoc"}},"patterns":[{"match":"^///\\s+"},{"match":"[^\\s@*](?:[^*]|\\*[^/])*","captures":{"0":{"name":"source.embedded.css.scss","patterns":[{"include":"source.css.scss"}]}}}]},{"name":"meta.example.html.sassdoc","begin":"(?x)\n((@)example)\n\\s+\n(markup)","end":"(?=@|///$)","beginCaptures":{"1":{"name":"storage.type.class.sassdoc"},"2":{"name":"punctuation.definition.block.tag.sassdoc"},"3":{"name":"variable.other.sassdoc"}},"patterns":[{"match":"^///\\s+"},{"match":"[^\\s@*](?:[^*]|\\*[^/])*","captures":{"0":{"name":"source.embedded.html","patterns":[{"include":"source.html"}]}}}]},{"name":"meta.example.js.sassdoc","begin":"(?x)\n((@)example)\n\\s+\n(javascript)","end":"(?=@|///$)","beginCaptures":{"1":{"name":"storage.type.class.sassdoc"},"2":{"name":"punctuation.definition.block.tag.sassdoc"},"3":{"name":"variable.other.sassdoc"}},"patterns":[{"match":"^///\\s+"},{"match":"[^\\s@*](?:[^*]|\\*[^/])*","captures":{"0":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]}}}]},{"match":"(?x)\n((@)link)\n\\s+\n(?:\n # URL\n (\n (?=https?://)\n (?:[^\\s*]|\\*[^/])+\n )\n)","captures":{"1":{"name":"storage.type.class.sassdoc"},"2":{"name":"punctuation.definition.block.tag.sassdoc"},"3":{"name":"variable.other.link.underline.sassdoc"},"4":{"name":"entity.name.type.instance.sassdoc"}}},{"match":"(?x)\n(\n (@)\n (?:arg|argument|param|parameter|requires?|see|colors?|fonts?|ratios?|sizes?)\n)\n\\s+\n(\n [A-Za-z_$%]\n [\\-\\w$.\\[\\]]*\n)","captures":{"1":{"name":"storage.type.class.sassdoc"},"2":{"name":"punctuation.definition.block.tag.sassdoc"},"3":{"name":"variable.other.sassdoc"}}},{"begin":"((@)(?:arg|argument|param|parameter|prop|property|requires?|see|sizes?))\\s+(?={)","beginCaptures":{"1":{"name":"storage.type.class.sassdoc"},"2":{"name":"punctuation.definition.block.tag.sassdoc"}},"end":"(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])","patterns":[{"include":"#sassdoctype"},{"match":"([A-Za-z_$%][\\-\\w$.\\[\\]]*)","name":"variable.other.sassdoc"},{"name":"variable.other.sassdoc","match":"(?x)\n(\\[)\\s*\n[\\w$]+\n(?:\n (?:\\[\\])? # Foo[].bar properties within an array\n \\. # Foo.Bar namespaced parameter\n [\\w$]+\n)*\n(?:\n \\s*\n (=) # [foo=bar] Default parameter value\n \\s*\n (\n # The inner regexes are to stop the match early at */ and to not stop at escaped quotes\n (?>\n \"(?:(?:\\*(?!/))|(?:\\\\(?!\"))|[^*\\\\])*?\" | # [foo=\"bar\"] Double-quoted\n '(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?' | # [foo='bar'] Single-quoted\n \\[ (?:(?:\\*