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