diff options
Diffstat (limited to 'src/sdp/ao_conf_make_meta.d')
-rw-r--r-- | src/sdp/ao_conf_make_meta.d | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/sdp/ao_conf_make_meta.d b/src/sdp/ao_conf_make_meta.d index 4056914..e0ac269 100644 --- a/src/sdp/ao_conf_make_meta.d +++ b/src/sdp/ao_conf_make_meta.d @@ -13,11 +13,18 @@ template SiSUheaderExtractHub() { std.regex; private import ao_rgx; - struct HeaderDocMetadataAndMake { + struct SiSUheaderExtractHub { mixin SiSUheaderExtractNative; mixin SiSUheaderExtractSDLang; auto rgx = Rgx(); - private auto headerContentAA(char[] header_src, string[string][string] conf_doc_make_aa) { + private auto SiSUheaderExtractHub(Src, DocMake)( + Src header_src, + DocMake conf_doc_make_aa + ) { + debug(asserts){ + static assert(is(typeof(header_src) == char[])); + static assert(is(typeof(conf_doc_make_aa) == string[string][string])); + } auto head_native = HeaderDocMetadataAndMakeNativeToAA(); auto head_sdlang = HeaderExtractSDL(); auto header_make_and_meta_tuple = (match(header_src, rgx.native_header_meta_title)) |