1
|
{"version":3,"file":"highlight/roboconf.js?v=bca7e4f5259523597047","mappings":"0FAiFAA,EAAOC,QAzEP,SAAkBC,GAChB,MAAMC,EAAa,wBAEbC,EAAW,CACfC,UAAW,YACXC,MAAO,cACPC,IAAK,OACLC,YAAY,EACZC,OAAQ,CACNF,IAAK,IACLG,UAAW,EACXC,SAAU,CACR,CACEN,UAAW,WACXC,MAAO,iBAET,CACED,UAAW,UACXC,MAAO,mBAMf,MAAO,CACLM,KAAM,WACNC,QAAS,CACP,QACA,aAEFC,kBAAkB,EAClBC,SAAU,SACVJ,SAAU,CAER,CACEL,MAAO,UAAYH,EACnBI,IAAK,KACLQ,SAAU,QACVJ,SAAU,CACRP,EACAF,EAAKc,oBAKT,CACEV,MAAO,oBAAsBH,EAC7BI,IAAK,KACLQ,SAAU,+DACVE,QAAS,KACTN,SAAU,CACR,OACAP,EACAF,EAAKc,oBAKT,CACEV,MAAO,IAAMH,EACbI,IAAK,KACLI,SAAU,CACRP,EACAF,EAAKc,oBAKTd,EAAKc","sources":["webpack:///text/node_modules/highlight.js/lib/languages/roboconf.js"],"sourcesContent":["/*\nLanguage: Roboconf\nAuthor: Vincent Zurczak <vzurczak@linagora.com>\nDescription: Syntax highlighting for Roboconf's DSL\nWebsite: http://roboconf.net\nCategory: config\n*/\n\nfunction roboconf(hljs) {\n const IDENTIFIER = '[a-zA-Z-_][^\\\\n{]+\\\\{';\n\n const PROPERTY = {\n className: 'attribute',\n begin: /[a-zA-Z-_]+/,\n end: /\\s*:/,\n excludeEnd: true,\n starts: {\n end: ';',\n relevance: 0,\n contains: [\n {\n className: 'variable',\n begin: /\\.[a-zA-Z-_]+/\n },\n {\n className: 'keyword',\n begin: /\\(optional\\)/\n }\n ]\n }\n };\n\n return {\n name: 'Roboconf',\n aliases: [\n 'graph',\n 'instances'\n ],\n case_insensitive: true,\n keywords: 'import',\n contains: [\n // Facet sections\n {\n begin: '^facet ' + IDENTIFIER,\n end: /\\}/,\n keywords: 'facet',\n contains: [\n PROPERTY,\n hljs.HASH_COMMENT_MODE\n ]\n },\n\n // Instance sections\n {\n begin: '^\\\\s*instance of ' + IDENTIFIER,\n end: /\\}/,\n keywords: 'name count channels instance-data instance-state instance of',\n illegal: /\\S/,\n contains: [\n 'self',\n PROPERTY,\n hljs.HASH_COMMENT_MODE\n ]\n },\n\n // Component sections\n {\n begin: '^' + IDENTIFIER,\n end: /\\}/,\n contains: [\n PROPERTY,\n hljs.HASH_COMMENT_MODE\n ]\n },\n\n // Comments\n hljs.HASH_COMMENT_MODE\n ]\n };\n}\n\nmodule.exports = roboconf;\n"],"names":["module","exports","hljs","IDENTIFIER","PROPERTY","className","begin","end","excludeEnd","starts","relevance","contains","name","aliases","case_insensitive","keywords","HASH_COMMENT_MODE","illegal"],"sourceRoot":""}
|