1 line
484 B
JavaScript
1 line
484 B
JavaScript
hljs.registerLanguage("roboconf",function(e){var a="[a-zA-Z-_][^\\n{]+\\{",n={cN:"attribute",b:/[a-zA-Z-_]+/,e:/\s*:/,eE:!0,starts:{e:";",relevance:0,c:[{cN:"variable",b:/\.[a-zA-Z-_]+/},{cN:"keyword",b:/\(optional\)/}]}};return{aliases:["graph","instances"],cI:!0,k:"import",c:[{b:"^facet "+a,e:"}",k:"facet",c:[n,e.HCM]},{b:"^\\s*instance of "+a,e:"}",k:"name count channels instance-data instance-state instance of",i:/\S/,c:["self",n,e.HCM]},{b:"^"+a,e:"}",c:[n,e.HCM]},e.HCM]}}); |