diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-01-20 11:06:54 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 88075ee569b5301e6fdf9dc7248aa1406bc38636 (patch) | |
tree | 57b69ce4a0194a4e2f2034553a2e9a1569638a79 /org/ao_abstract_doc_source.org | |
parent | sdp, remove some intermediate steps (diff) |
0.12.0 template related; doc abstraction
Diffstat (limited to 'org/ao_abstract_doc_source.org')
-rw-r--r-- | org/ao_abstract_doc_source.org | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/org/ao_abstract_doc_source.org b/org/ao_abstract_doc_source.org index f77a5ad..2100faf 100644 --- a/org/ao_abstract_doc_source.org +++ b/org/ao_abstract_doc_source.org @@ -24,7 +24,7 @@ +/ template SiSUdocAbstraction() { private: - struct Abstraction { + struct SiSUdocAbstraction { /+ ↓ abstraction imports +/ <<abs_imports>> /+ ↓ abstraction mixins +/ @@ -32,12 +32,18 @@ template SiSUdocAbstraction() { /+ ↓ abstraction struct init +/ <<abs_init_struct>> /+ ↓ abstract marked up document +/ - auto abstract_doc_source( - char[][] markup_sourcefile_content, - string[string][string] dochead_make_aa, - string[string][string] dochead_meta_aa, - bool[string] opt_action_bool, + auto SiSUdocAbstraction(Src,Make,Meta,Opt)( + Src markup_sourcefile_content, + Make dochead_make_aa, + Meta dochead_meta_aa, + Opt opt_action_bool, ) { + debug(asserts){ + static assert(is(typeof(markup_sourcefile_content) == char[][])); + static assert(is(typeof(dochead_make_aa) == string[string][string])); + static assert(is(typeof(dochead_meta_aa) == string[string][string])); + static assert(is(typeof(opt_action_bool) == bool[string])); + } /+ ↓ abstraction init +/ <<abs_init_rest>> /+ abstraction init ↑ +/ |