From e29d507ab0b217595041fb1061efca98aaa17536 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 19 Jun 2018 19:02:18 -0400 Subject: naming is_of_ (is_ of_) --- org/output_xmls.org | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'org/output_xmls.org') diff --git a/org/output_xmls.org b/org/output_xmls.org index 58f251a..894f329 100644 --- a/org/output_xmls.org +++ b/org/output_xmls.org @@ -1369,9 +1369,9 @@ void scroll(D,I)( foreach (obj; doc_abstraction[part]) { delimit = xhtml_format.div_delimit(part, previous_part); string _txt = xhtml_format.special_characters(obj, obj.text); - switch (obj.typeinfo.of_part) { + switch (obj.typeinfo.is_of_part) { case "frontmatter": assert(part == "head" || "toc_scroll"); - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "heading": @@ -1389,13 +1389,13 @@ void scroll(D,I)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_type); } break; } break; case "body": assert(part == "body" || "head"); // surprise - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "heading": @@ -1442,14 +1442,14 @@ void scroll(D,I)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_type); } break; } break; case "backmatter": assert(part == "endnotes" || "glossary" || "bibliography" || "bookindex_scroll" || "blurb" || "tail"); - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "heading": @@ -1479,7 +1479,7 @@ void scroll(D,I)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_type); } break; } @@ -1488,7 +1488,7 @@ void scroll(D,I)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.of_part); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_part); writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_a); writeln(__FILE__, ":", __LINE__, ": ", obj.text); } @@ -1618,9 +1618,9 @@ void seg(D,M)( } } else { assert(part == "head" || "toc_seg" || "body" || "endnotes" || "glossary" || "bibliography" || "bookindex_seg" || "blurb" || "tail"); - switch (obj.typeinfo.of_part) { + switch (obj.typeinfo.is_of_part) { case "frontmatter": assert(part == "head" || "toc_seg"); - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "toc": @@ -1642,7 +1642,7 @@ void seg(D,M)( } break; case "body": assert(part == "body"); - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "para": @@ -1697,14 +1697,14 @@ void seg(D,M)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_type); } break; } break; case "backmatter": assert(part == "endnotes" || "glossary" || "bibliography" || "bookindex_seg" || "blurb" || "tail"); - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "endnote": assert(part == "endnotes"); @@ -1740,7 +1740,7 @@ void seg(D,M)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_type); } break; } @@ -1749,7 +1749,7 @@ void seg(D,M)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.of_part); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_part); } break; } @@ -2292,9 +2292,9 @@ void outputEPub3(D,I)( } } else { assert(part == "head" || "toc_seg" || "body" || "endnotes" || "glossary" || "bibliography" || "bookindex_seg" || "blurb" || "tail"); - switch (obj.typeinfo.of_part) { + switch (obj.typeinfo.is_of_part) { case "frontmatter": assert(part == "head" || "toc_seg"); - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "toc": @@ -2311,13 +2311,13 @@ void outputEPub3(D,I)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_type); } break; } break; case "body": assert(part == "body"); - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "para": @@ -2372,14 +2372,14 @@ void outputEPub3(D,I)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_type); } break; } break; case "backmatter": assert(part == "endnotes" || "glossary" || "bibliography" || "bookindex_seg" || "blurb" || "tail"); - switch (obj.typeinfo.is_of) { + switch (obj.typeinfo.is_of_type) { case "para": switch (obj.typeinfo.is_a) { case "endnote": assert(part == "endnotes"); @@ -2415,7 +2415,7 @@ void outputEPub3(D,I)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_type); } break; } @@ -2424,7 +2424,7 @@ void outputEPub3(D,I)( break; default: if ((doc_matters.opt.action.debug_do)) { - writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.of_part); + writeln(__FILE__, ":", __LINE__, ": ", obj.typeinfo.is_of_part); } break; } -- cgit v1.2.3