MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
fences Namespace Reference

Functions

 wrap (match)
 main ()

Variables

 WRAP = re.compile(r'^([ \t]*)(?:```(mim|ebnf|llvm)\n.*?^[ \t]*```|\\include "[^"]*\.(mim)")$', re.M | re.S)

Detailed Description

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.

Function Documentation

◆ main()

main ( )

Definition at line 19 of file fences.py.

References main().

Referenced by main().

◆ wrap()

wrap ( match)

Definition at line 14 of file fences.py.

Variable Documentation

◆ WRAP

fences.WRAP = re.compile(r'^([ \t]*)(?:```(mim|ebnf|llvm)\n.*?^[ \t]*```|\\include "[^"]*\.(mim)")$', re.M | re.S)

Definition at line 11 of file fences.py.