From b1f029933ebe8914448562625cc9f0b845baef44 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 19 Jun 2018 18:36:55 -0400 Subject: naming is_of_ (is_ of_) --- src/sdp/meta/object_setter.d | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/sdp/meta/object_setter.d') diff --git a/src/sdp/meta/object_setter.d b/src/sdp/meta/object_setter.d index 967f9ec..77e44e0 100644 --- a/src/sdp/meta/object_setter.d +++ b/src/sdp/meta/object_setter.d @@ -7,10 +7,13 @@ module sdp.meta.object_setter; template ObjectSetter() { /+ structs +/ struct DocObj_TypeInfo_ { // typeinfo - string of_part = ""; // frontmatter, body, backmatter - string of_section = ""; // toc, body, glossary, biography, book index, blurb - string is_of = ""; // para, block ? + string is_of_part = ""; // frontmatter, body, backmatter + string is_of_section = ""; // toc, body, glossary, biography, book index, blurb + string is_of_type = ""; // para, block ? string is_a = ""; // heading, para, table, code block, group, ... + alias of_part = is_of_part; + alias of_section = is_of_section; + alias is_of = is_of_type; } struct DocObj_TxtAttrib_ { // attrib int indent_base = 0; @@ -25,6 +28,7 @@ template ObjectSetter() { bool contains_image_without_dimensions = false; } struct DocObj_Node_ { // node + enum ONtype { none, substantive, non_substantive, glossary, bibliography, book_index, blurb, comment } string[string][string] node; int ocn = 0; string object_number() const @property { @@ -32,7 +36,7 @@ template ObjectSetter() { ? "" : ocn.to!string; } - string ocn_type = ""; // code duplicated typeinfo is_a + int o_n_type = 0; string marked_up_level = "9"; int heading_lev_markup = 9; int heading_lev_collapsed = 9; -- cgit v1.2.3