summaryrefslogtreecommitdiff
path: root/live/static/hl/languages/parser3.min.js
blob: 38583a58c6a651daa4529f3d85a0c91187d8ce94 (plain)
1
2
3
4
5
6
7
8
9
10
hljs.registerLanguage("parser3",(()=>{"use strict";return e=>{
const a=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",
subLanguage:"xml",relevance:0,
contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,
contains:[a]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",
relevance:10},{className:"title",
begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{
className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",
begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"
},e.C_NUMBER_MODE]}}})());