diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-01-27 11:54:29 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | d9e6f899d0d9d7979ad191954ee123f10c7bad5c (patch) | |
tree | 43e7bc172aecf749db8a3b6ed198ca920f87ea91 /org/ao_output_debugs.org | |
parent | output templates (diff) |
debugs template
Diffstat (limited to 'org/ao_output_debugs.org')
-rw-r--r-- | org/ao_output_debugs.org | 53 |
1 files changed, 40 insertions, 13 deletions
diff --git a/org/ao_output_debugs.org b/org/ao_output_debugs.org index 145a7a5..fe20f17 100644 --- a/org/ao_output_debugs.org +++ b/org/ao_output_debugs.org @@ -21,19 +21,18 @@ /++ output debugs +/ -template SiSUoutputDebugs() { - struct SDPoutputDebugs { - auto abstract_doc_source_debugs(S,T)( - auto ref const S contents, - auto ref T doc_matters, - ) { - mixin SiSUrgxInit; - mixin InternalMarkup; - <<initialize>> - <<book_index_sorted_report>> - <<ao_output_debugs>> - <<ao_output_debugs_summary>> - } +template SiSUdebugs() { + <<debug_imports>> + auto SiSUdebugs(S,T)( + auto ref const S contents, + auto ref T doc_matters, + ) { + mixin SiSUrgxInit; + mixin InternalMarkup; + <<initialize>> + <<book_index_sorted_report>> + <<ao_output_debugs>> + <<ao_output_debugs_summary>> } } } @@ -42,6 +41,34 @@ template SiSUoutputDebugs() { * 1. output debugs :debug:output: [[./sdp.org][sdp]] [[./][org/]] +** imports + +#+name: debug_imports +#+BEGIN_SRC d +import + ao_defaults, + ao_rgx; +private import + std.algorithm, + std.array, + std.container, + std.exception, + std.getopt, + std.json, + std.process, + std.stdio, + std.file, + std.path, + std.range, + std.regex, + std.string, + std.traits, + std.typecons, + std.uni, + std.utf, + std.conv : to; +#+END_SRC + ** initialize :report: #+name: initialize |