This commit is contained in:
oneao committed 2026-10-09 17:32:14 +08:00
1 parent e99a9fb274
commit 0be0b0767a
788 files changed
+112023 -14941

No files matched your search

@@ -0,0 +1,15 @@
import {
sdbl_default
} from "./chunk-NEKMVJCS.js";
import "./chunk-DWU6NC2D.js";
// ../node_modules/.pnpm/@shikijs+langs@2.1.0/node_modules/@shikijs/langs/dist/bsl.mjs
var lang = Object.freeze(JSON.parse(`{"displayName":"1C (Enterprise)","fileTypes":["bsl","os"],"name":"bsl","patterns":[{"include":"#basic"},{"include":"#miscellaneous"},{"begin":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(Процедура|Procedure|Функция|Function)\\\\s+([a-zа-яё0-9_]+)\\\\s*(\\\\())","beginCaptures":{"1":{"name":"storage.type.bsl"},"2":{"name":"entity.name.function.bsl"},"3":{"name":"punctuation.bracket.begin.bsl"}},"comment":"Proc and function definition","end":"(?i:(\\\\))\\\\s*((Экспорт|Export)(?=[^\\\\wа-яё\\\\.]|$))?)","endCaptures":{"1":{"name":"punctuation.bracket.end.bsl"},"2":{"name":"storage.modifier.bsl"}},"patterns":[{"include":"#annotations"},{"include":"#basic"},{"match":"(=)","name":"keyword.operator.assignment.bsl"},{"match":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(Знач|Val)(?=[^\\\\wа-яё\\\\.]|$))","name":"storage.modifier.bsl"},{"match":"(?<=[^\\\\wа-яё\\\\.]|^)((?<==)(?i)[a-zа-яё0-9_]+)(?=[^\\\\wа-яё\\\\.]|$)","name":"invalid.illegal.bsl"},{"match":"(?<=[^\\\\wа-яё\\\\.]|^)((?<==\\\\s)\\\\s*(?i)[a-zа-яё0-9_]+)(?=[^\\\\wа-яё\\\\.]|$)","name":"invalid.illegal.bsl"},{"match":"(?i:[a-zа-яё0-9_]+)","name":"variable.parameter.bsl"}]},{"begin":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(Перем|Var)\\\\s+([a-zа-яё0-9_]+)\\\\s*)","beginCaptures":{"1":{"name":"storage.type.var.bsl"},"2":{"name":"variable.bsl"}},"comment":"Define of variable","end":"(;)","endCaptures":{"1":{"name":"keyword.operator.bsl"}},"patterns":[{"match":"(,)","name":"keyword.operator.bsl"},{"match":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(Экспорт|Export)(?=[^\\\\wа-яё\\\\.]|$))","name":"storage.modifier.bsl"},{"match":"(?i:[a-zа-яё0-9_]+)","name":"variable.bsl"}]},{"begin":"(?i:(?<=;|^)\\\\s*(Если|If))","beginCaptures":{"1":{"name":"keyword.control.conditional.bsl"}},"comment":"Conditional","end":"(?i:(Тогда|Then))","endCaptures":{"1":{"name":"keyword.control.conditional.bsl"}},"name":"meta.conditional.bsl","patterns":[{"include":"#basic"},{"include":"#miscellaneous"}]},{"begin":"(?i:(?<=;|^)\\\\s*([\\\\wа-яё]+))\\\\s*(=)","beginCaptures":{"1":{"name":"variable.assignment.bsl"},"2":{"name":"keyword.operator.assignment.bsl"}},"comment":"Variable assignment","end":"(?i:(?=(;|Иначе|Конец|Els|End)))","name":"meta.var-single-variable.bsl","patterns":[{"include":"#basic"},{"include":"#miscellaneous"}]},{"match":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(КонецПроцедуры|EndProcedure|КонецФункции|EndFunction)(?=[^\\\\wа-яё\\\\.]|$))","name":"storage.type.bsl"},{"match":"(?i)#(Использовать|Use)(?=[^\\\\wа-яё\\\\.]|$)","name":"keyword.control.import.bsl"},{"match":"(?i)#native","name":"keyword.control.native.bsl"},{"match":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(Прервать|Break|Продолжить|Continue|Возврат|Return)(?=[^\\\\wа-яё\\\\.]|$))","name":"keyword.control.bsl"},{"match":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(Если|If|Иначе|Else|ИначеЕсли|ElsIf|Тогда|Then|КонецЕсли|EndIf)(?=[^\\\\wа-яё\\\\.]|$))","name":"keyword.control.conditional.bsl"},{"match":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(Попытка|Try|Исключение|Except|КонецПопытки|EndTry|ВызватьИсключение|Raise)(?=[^\\\\wа-яё\\\\.]|$))","name":"keyword.control.exception.bsl"},{"match":"(?i:(?<=[^\\\\wа-яё\\\\.]|^)(Пока|While|(Для|For)(\\\\s+(Каждого|Each))?|Из|In|По|To|Цикл|Do|КонецЦикла|EndDo)(?=[^\\\\wа-яё\\\\.]|$))","name":"keyword.control.repeat.bsl"},{"match":"(?i:&(НаКлиенте((НаСервере(БезКонтекста)?)?)|AtClient((AtServer(NoContext)?)?)|НаСервере(БезКонтекста)?|AtServer(NoContext)?))","name":"storage.modifier.directive.bsl"},{"include":"#annotations"},{"match":"(?i:#(Если|If|ИначеЕсли|ElsIf|Иначе|Else|КонецЕсли|EndIf).*(Тогда|Then)?)","name":"keyword.other.preprocessor.bsl"},{"begin":"(?i)(#(Область|Region))(\\\\s+([\\\\wа-яё]+))?","beginCaptures":{"1":{"name":"keyword.other.section.bsl"},"4":{"name":"entity.name.section.bsl"}},"comment":"Region start","end":"$"},{"comment":"Region end","match":"(?i)#(КонецОбласти|EndRegion)","name":"keyword.other.section.bsl"},{"comment":"Delete start","match":"(?i)#(Удаление|Delete)","name":"keyword.other.section.bsl"},{"comment":"Delete end","match":"(?i)#(КонецУдаления|EndDelete)","name":"keyword.other.section.bsl"},{"comment":"Inster start","match":"(?i)#(Вставка|Insert)","name":"keyword.other.section.bsl"},{"comment":"Insert end","match":"(?i)#(КонецВставки|EndInsert)","name":"keyword.other.section.bsl"}],"repository":{"annotations":{"patterns":[{"begin":"(?i)(&([a-zа-яё0-9_]+))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"storage.type.annotation.bsl"},"3":{"name":"punctuation.bracket.begin.bsl"}},"comment":"Annotations with parameters","end":"(\\\\))","endCapture Line truncated
var bsl_default = [
...sdbl_default,
lang
];
export {
bsl_default as default
};
//# sourceMappingURL=bsl-NH2S4SW6.js.map