UNPKG

809 BJavaScriptView Raw
1/*! `roboconf` grammar compiled for Highlight.js 11.6.0 */
2(()=>{var e=(()=>{"use strict";return e=>{const n="[a-zA-Z-_][^\\n{]+\\{",a={
3className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{
4end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{
5className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",
6aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{
7begin:"^facet "+n,end:/\}/,keywords:"facet",contains:[a,e.HASH_COMMENT_MODE]},{
8begin:"^\\s*instance of "+n,end:/\}/,
9keywords:"name count channels instance-data instance-state instance of",
10illegal:/\S/,contains:["self",a,e.HASH_COMMENT_MODE]},{begin:"^"+n,end:/\}/,
11contains:[a,e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}})()
12;hljs.registerLanguage("roboconf",e)})();
\No newline at end of file