PageSourceSearch

https://www.analytikashop.gr/vendor/prismjs/components/prism-bsl.v36jxc072a.js

js analytikashop.gr collected 2026-10-10 00:39:29 UTC 2,478 bytes, 75 lines download raw bytes

vendor: 2,478 bytes, lines 1-75
1/* eslint-disable no-misleading-character-class */
2
3// 1C:Enterprise
4// https://github.com/Diversus23/
5//
6Prism.languages.bsl = {
7	'comment': /\/\/.*/,
8	'string': [
9		// Строки
10		// Strings
11		{
12			pattern: /"(?:[^"]|"")*"(?!")/,
13			greedy: true
14		},
15		// Дата и время
16		// Date & time
17		{
18			pattern: /'(?:[^'\r\n\\]|\\.)*'/
19		}
20	],
21	'keyword': [
22		{
23			// RU
24			pattern: /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
25			lookbehind: true
26		},
27		{
28			// EN
29			pattern: /\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i
30		}
31	],
32	'number': {
33		pattern: /(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,
34		lookbehind: true
35	},
36	'operator': [
37		/[<>+\-*/]=?|[%=]/,
38		// RU
39		{
40			pattern: /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
41			lookbehind: true
42		},
43		// EN
44		{
45			pattern: /\b(?:and|not|or)\b/i
46		}
47	],
48	'punctuation': /\(\.|\.\)|[()\[\]:;,.]/,
49	'directive': [
50		// Теги препроцессора вида &Клиент, &Сервер, ...
51		// Preprocessor tags of the type &Client, &Server, ...
52		{
53			pattern: /^([ \t]*)&.*/m,
54			lookbehind: true,
55			greedy: true,
56			alias: 'important'
57		},
58		// Инструкции препроцессора вида:
59		// #Если Сервер Тогда
60		// ...
61		// #КонецЕсли
62		// Preprocessor instructions of the form:
63		// #If Server Then
64		// ...
65		// #EndIf
66		{
67			pattern: /^([ \t]*)#.*/gm,
68			lookbehind: true,
69			greedy: true,
70			alias: 'important'
71		}
72	]
73};
74
75Prism.languages.oscript = Prism.languages['bsl'];

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.