site/node_modules/shiki/dist/langs/angular-inline-style.mjs

11 lines
1.5 KiB
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import scss from './scss.mjs';
import './css.mjs';
const lang = Object.freeze({ "injectTo": ["source.ts.ng"], "injectionSelector": "L:source.ts#meta.decorator.ts -comment", "name": "angular-inline-style", "patterns": [{ "include": "#inlineStyles" }], "repository": { "inlineStyles": { "begin": "(styles)\\s*(:)", "beginCaptures": { "1": { "name": "meta.object-literal.key.ts" }, "2": { "name": "meta.object-literal.key.ts punctuation.separator.key-value.ts" } }, "end": "(?=,|})", "patterns": [{ "include": "#tsParenExpression" }, { "include": "#tsBracketExpression" }, { "include": "#style" }] }, "style": { "begin": "\\s*([`|'|\"])", "beginCaptures": { "1": { "name": "string" } }, "contentName": "source.css.scss", "end": "\\1", "endCaptures": { "0": { "name": "string" } }, "patterns": [{ "include": "source.css.scss" }] }, "tsBracketExpression": { "begin": "\\G\\s*(\\[)", "beginCaptures": { "1": { "name": "meta.array.literal.ts meta.brace.square.ts" } }, "end": "\\]", "endCaptures": { "0": { "name": "meta.array.literal.ts meta.brace.square.ts" } }, "patterns": [{ "include": "#style" }] }, "tsParenExpression": { "begin": "\\G\\s*(\\()", "beginCaptures": { "1": { "name": "meta.brace.round.ts" } }, "end": "\\)", "endCaptures": { "0": { "name": "meta.brace.round.ts" } }, "patterns": [{ "include": "$self" }, { "include": "#tsBracketExpression" }, { "include": "#style" }] } }, "scopeName": "inline-styles.ng", "embeddedLangs": ["scss"] });
var angular_inline_style = [
...scss,
lang
];
export { angular_inline_style as default };