aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/doc_debugs.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-05-08 18:45:02 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-08-19 14:42:40 -0400
commit6b46ba599b7f687a592e2e50fdd007ed31319243 (patch)
tree9ba93fc931804a14506bae682eadaaef413f0024 /src/doc_reform/meta/doc_debugs.d
parentbook index sort: Aa-Zz (replaces A-Za-z) (diff)
0.7.0 meta_abstruction, doc "has" struct replaces several tuples
Diffstat (limited to 'src/doc_reform/meta/doc_debugs.d')
-rw-r--r--src/doc_reform/meta/doc_debugs.d18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/doc_reform/meta/doc_debugs.d b/src/doc_reform/meta/doc_debugs.d
index 5ca5c39..f96a942 100644
--- a/src/doc_reform/meta/doc_debugs.d
+++ b/src/doc_reform/meta/doc_debugs.d
@@ -37,7 +37,7 @@ template DocReformDebugs() {
__FILE__,
__LINE__,
);
- foreach (key; doc_matters.xml.keys_seq.seg) {
+ foreach (key; doc_matters.has.keys_seq.seg) {
foreach (obj; contents[key]) {
if (obj.metainfo.is_of_part != "empty") {
if (obj.metainfo.is_a == "heading") {
@@ -100,7 +100,7 @@ template DocReformDebugs() {
}
debug(toc_nav_dom) {
enum DomTags { none, open, close, close_and_open, open_still, }
- foreach (sect; doc_matters.xml.keys_seq.seg) {
+ foreach (sect; doc_matters.has.keys_seq.seg) {
foreach (obj; contents[sect]) {
if (obj.metainfo.is_a == "heading") {
foreach_reverse (k; 0 .. 7) {
@@ -127,7 +127,7 @@ template DocReformDebugs() {
}
}
writeln("--------------------");
- foreach (sect; doc_matters.xml.keys_seq.seg) {
+ foreach (sect; doc_matters.has.keys_seq.seg) {
foreach (obj; contents[sect]) {
if (obj.metainfo.is_a == "heading") {
foreach_reverse (k; 0 .. 7) {
@@ -155,7 +155,7 @@ template DocReformDebugs() {
}
}
debug(decendants) {
- foreach (sect; doc_matters.xml.keys_seq.scroll) {
+ foreach (sect; doc_matters.has.keys_seq.scroll) {
foreach (obj; contents[sect]) {
if (obj.metainfo.is_a == "heading") {
writeln(obj.metainfo.ocn, " .. ", obj.metainfo.last_decendant_ocn);
@@ -393,7 +393,7 @@ template DocReformDebugs() {
__FILE__,
__LINE__,
);
- foreach (k; doc_matters.xml.keys_seq.seg) {
+ foreach (k; doc_matters.has.keys_seq.seg) {
foreach (obj; contents[k]) {
if (obj.metainfo.is_a == "heading") {
writefln(
@@ -408,7 +408,7 @@ template DocReformDebugs() {
}
}
debug(heading) { // heading
- foreach (k; doc_matters.xml.keys_seq.seg) {
+ foreach (k; doc_matters.has.keys_seq.seg) {
foreach (o; contents[k]) {
if (o.metainfo.is_a == "heading") {
writefln(
@@ -428,7 +428,7 @@ template DocReformDebugs() {
__FILE__,
__LINE__,
);
- foreach (k; doc_matters.xml.keys_seq.seg) {
+ foreach (k; doc_matters.has.keys_seq.seg) {
foreach (obj; contents[k]) {
if (obj.metainfo.is_a == "heading") {
writefln(
@@ -580,11 +580,11 @@ template DocReformDebugs() {
const S contents,
T doc_matters,
) {
- foreach (key; doc_matters.xml.keys_seq.seg) {
+ foreach (key; doc_matters.has.keys_seq.seg) {
if (contents[key].length > 1) {
foreach (obj; contents[key]) {
if (obj.heading_lev_markup == 4) {
- writeln(obj.ptr_html_segnames, ". (", doc_matters.xml.segnames[obj.ptr_html_segnames], ") -> ", obj.text);
+ writeln(obj.ptr_html_segnames, ". (", doc_matters.has.segnames_lv4[obj.ptr_html_segnames], ") -> ", obj.text);
}
}
}