roboconf.min.js 801 B

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