]> luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/ebnf.min.js
Initial commit.
[flow-web.git] / static / highlight / languages / ebnf.min.js
1 /*! `ebnf` grammar compiled for Highlight.js 11.11.1 */
2 (()=>{var e=(()=>{"use strict";return e=>{const a=e.COMMENT(/\(\*/,/\*\)/)
3 ;return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[a,{
4 className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},{begin:/=/,
5 end:/[.;]/,contains:[a,{className:"meta",begin:/\?.*\?/},{className:"string",
6 variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]}]}}})()
7 ;hljs.registerLanguage("ebnf",e)})();