Functions | |
| wrap (match) | |
| main () | |
Variables | |
| WRAP = re.compile(r'^([ \t]*)(?:```(mim|ebnf)\n.*?^[ \t]*```|\\include "[^"]*\.(mim)")$', re.M | re.S) | |
Doxygen input filter: wraps every Mim and EBNF listing in a `<lang>-code` div. Doxygen discards the language of a fenced code block, so `docs/mim.js` and `docs/ebnf.js` need the wrapper to tell such a listing from any other verbatim block.