summaryrefslogtreecommitdiffstats
path: root/public/prism/prism-solution-file.min.js
blob: 73c5a88f29f1f3dafac0ccd01752421ebdd343e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
!(function (n) {
  var t = {
    pattern: /\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,
    alias: 'constant',
    inside: { punctuation: /[{}]/ },
  };
  (n.languages['solution-file'] = {
    comment: { pattern: /#.*/, greedy: !0 },
    string: {
      pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
      greedy: !0,
      inside: { guid: t },
    },
    object: {
      pattern:
        /^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,
      lookbehind: !0,
      greedy: !0,
      alias: 'keyword',
    },
    property: {
      pattern: /^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,
      lookbehind: !0,
      inside: { guid: t },
    },
    guid: t,
    number: /\b\d+(?:\.\d+)*\b/,
    boolean: /\b(?:FALSE|TRUE)\b/,
    operator: /=/,
    punctuation: /[(),]/,
  }),
    (n.languages.sln = n.languages['solution-file']);
})(Prism);
/span>true, inside: { scheme: { pattern: /^(#)[\s\S]+$/, lookbehind: true, alias: 'language-scheme', inside: { 'embedded-lilypond': { pattern: /#\{[\s\S]*?#\}/, greedy: true, inside: { punctuation: /^#\{|#\}$/, lilypond: { pattern: /[\s\S]+/, alias: 'language-lilypond', inside: null, // see below }, }, }, rest: Prism.languages.scheme, }, }, punctuation: /#/, }, }, string: { pattern: /"(?:[^"\\]|\\.)*"/, greedy: true, }, 'class-name': { pattern: /(\\new\s+)[\w-]+/, lookbehind: true, }, keyword: { pattern: /\\[a-z][-\w]*/i, inside: { punctuation: /^\\/, }, }, operator: /[=|]|<<|>>/, punctuation: { pattern: /(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/, lookbehind: true, }, number: /\b\d+(?:\/\d+)?\b/, }); lilypond['embedded-scheme'].inside['scheme'].inside[ 'embedded-lilypond' ].inside['lilypond'].inside = lilypond; Prism.languages.ly = lilypond; })(Prism);