roboconf.min.js 809 B

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