diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-06-19 18:36:55 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | b1f029933ebe8914448562625cc9f0b845baef44 (patch) | |
tree | 846bd4af72235589f112f38611ae529b9cedae77 /src/sdp/meta/object_setter.d | |
parent | html flags (diff) |
naming is_of_ (is_ of_)
Diffstat (limited to 'src/sdp/meta/object_setter.d')
-rw-r--r-- | src/sdp/meta/object_setter.d | 12 |
1 files changed, 8 insertions, 4 deletions
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; |