(match)
| 38 | #------------------------------------------------------------------------------ |
| 39 | |
| 40 | def replaceSource(match): |
| 41 | fileName = match.group(2) |
| 42 | |
| 43 | cpp = '<!-- source:%s.cpp -->\n' %(fileName) |
| 44 | cpp += '```{.cpp}\n' |
| 45 | cpp += open('examples/%s.cpp' %(fileName), 'r').read().strip() |
| 46 | cpp += '\n```\n' |
| 47 | cpp += '<!-- source-end:%s.cpp -->' %(fileName) |
| 48 | |
| 49 | return cpp |
| 50 | #------------------------------------------------------------------------------ |
| 51 | |
| 52 | def cppinsightsLink(code, std='2a', options=''): |
nothing calls this directly
no outgoing calls
no test coverage detected