ebnf.min.js 465 B

1234567
  1. /*! `ebnf` grammar compiled for Highlight.js 11.7.0 */
  2. var hljsGrammar=(()=>{"use strict";return a=>{const e=a.COMMENT(/\(\*/,/\*\)/)
  3. ;return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[e,{
  4. className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},{begin:/=/,
  5. end:/[.;]/,contains:[e,{className:"meta",begin:/\?.*\?/},{className:"string",
  6. variants:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]}]}}})()
  7. ;export default hljsGrammar;