site/node_modules/shiki/dist/langs/blade.mjs

21 lines
107 KiB
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import html from './html.mjs';
import xml from './xml.mjs';
import sql from './sql.mjs';
import javascript from './javascript.mjs';
import json from './json.mjs';
import css from './css.mjs';
import './java.mjs';
const lang = Object.freeze({ "displayName": "Blade", "fileTypes": ["blade.php"], "foldingStartMarker": "(/\\*|\\{\\s*$|<<<HTML)", "foldingStopMarker": "(\\*/|^\\s*\\}|^HTML;)", "injections": { "text.html.php.blade - (meta.embedded | meta.tag | comment.block.blade), L:(text.html.php.blade meta.tag - (comment.block.blade | meta.embedded.block.blade)), L:(source.js.embedded.html - (comment.block.blade | meta.embedded.block.blade))": { "patterns": [{ "include": "#blade" }, { "begin": "(^\\s*)(?=<\\?(?![^?]*\\?>))", "beginCaptures": { "0": { "name": "punctuation.whitespace.embedded.leading.php" } }, "end": "(?!\\G)(\\s*$\\n)?", "endCaptures": { "0": { "name": "punctuation.whitespace.embedded.trailing.php" } }, "patterns": [{ "begin": "<\\?(?i:php|=)?", "beginCaptures": { "0": { "name": "punctuation.section.embedded.begin.php" } }, "contentName": "source.php", "end": "(\\?)>", "endCaptures": { "0": { "name": "punctuation.section.embedded.end.php" }, "1": { "name": "source.php" } }, "name": "meta.embedded.block.php", "patterns": [{ "include": "#language" }] }] }, { "begin": "<\\?(?i:php|=)?(?![^?]*\\?>)", "beginCaptures": { "0": { "name": "punctuation.section.embedded.begin.php" } }, "contentName": "source.php", "end": "(\\?)>", "endCaptures": { "0": { "name": "punctuation.section.embedded.end.php" }, "1": { "name": "source.php" } }, "name": "meta.embedded.block.php", "patterns": [{ "include": "#language" }] }, { "begin": "<\\?(?i:php|=)?", "beginCaptures": { "0": { "name": "punctuation.section.embedded.begin.php" } }, "end": ">", "endCaptures": { "0": { "name": "punctuation.section.embedded.end.php" } }, "name": "meta.embedded.line.php", "patterns": [{ "captures": { "1": { "name": "source.php" }, "2": { "name": "punctuation.section.embedded.end.php" }, "3": { "name": "source.php" } }, "match": "\\G(\\s*)((\\?))(?=>)", "name": "meta.special.empty-tag.php" }, { "begin": "\\G", "contentName": "source.php", "end": "(\\?)(?=>)", "endCaptures": { "0": { "name": "punctuation.section.embedded.end.php" }, "1": { "name": "source.php" } }, "patterns": [{ "include": "#language" }] }] }] } }, "name": "blade", "patterns": [{ "include": "text.html.basic" }], "repository": { "balance_brackets": { "patterns": [{ "begin": "\\(", "end": "\\)", "patterns": [{ "include": "#balance_brackets" }] }, { "match": "[^()]+" }] }, "blade": { "patterns": [{ "begin": "{{--", "beginCaptures": { "0": { "name": "punctuation.definition.comment.begin.blade" } }, "end": "--}}", "endCaptures": { "0": { "name": "punctuation.definition.comment.end.blade" } }, "name": "comment.block.blade", "patterns": [{ "begin": "(^\\s*)(?=<\\?(?![^?]*\\?>))", "beginCaptures": { "0": { "name": "punctuation.whitespace.embedded.leading.php" } }, "end": "(?!\\G)(\\s*$\\n)?", "endCaptures": { "0": { "name": "punctuation.whitespace.embedded.trailing.php" } }, "name": "invalid.illegal.php-code-in-comment.blade", "patterns": [{ "begin": "<\\?(?i:php|=)?", "beginCaptures": { "0": { "name": "punctuation.section.embedded.begin.php" } }, "contentName": "source.php", "end": "(\\?)>", "endCaptures": { "0": { "name": "punctuation.section.embedded.end.php" }, "1": { "name": "source.php" } }, "name": "meta.embedded.block.php", "patterns": [{ "include": "#language" }] }] }, { "begin": "<\\?(?i:php|=)?(?![^?]*\\?>)", "beginCaptures": { "0": { "name": "punctuation.section.embedded.begin.php" } }, "contentName": "source.php", "end": "(\\?)>", "endCaptures": { "0": { "name": "punctuation.section.embedded.end.php" }, "1": { "name": "source.php" } }, "name": "invalid.illegal.php-code-in-comment.blade.meta.embedded.block.php", "patterns": [{ "include": "#language" }] }, { "begin": "<\\?(?i:php|=)?", "beginCaptures": { "0": { "name": "punctuation.section.embedded.begin.php" } }, "end": ">", "endCaptures": { "0": { "name": "punctuation.section.embedded.end.php" } }, "name": "invalid.illegal.php-code-in-comment.blade.meta.embedded.line.php", "patterns": [{ "captures": { "1": { "name": "source.php" }, "2": { "name": "punctuation.section.embedded.end.php" }, "3": { "name": "source.php" } }, "match": "\\G(\\s*)
var blade = [
...html,
...xml,
...sql,
...javascript,
...json,
...css,
lang
];
export { blade as default };