diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-06-12 15:38:38 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | 6f8fddb2dfa5faad56af2a0bfd0bf3b694695136 (patch) | |
tree | 6b8af78c4cbb2a7a601de5430f41ab4a93503d67 /org/meta_debugs.org | |
parent | 0.26.2 image(s) without dimensions (diff) |
0.26.3 object info changes
Diffstat (limited to 'org/meta_debugs.org')
-rw-r--r-- | org/meta_debugs.org | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/org/meta_debugs.org b/org/meta_debugs.org index e624181..5af5cc4 100644 --- a/org/meta_debugs.org +++ b/org/meta_debugs.org @@ -89,8 +89,8 @@ debug(parent) { ); foreach (key; doc_matters.xml.keys_seq.seg) { foreach (obj; contents[key]) { - if (obj.of_part != "empty") { - if (obj.is_a == "heading") { + if (obj.typeinfo.of_part != "empty") { + if (obj.typeinfo.is_a == "heading") { writefln( "%s node: %s heading: %s %s", obj.obj_cite_number, @@ -117,11 +117,11 @@ debug(dumpdoc) { ); if (key.length > 0) { foreach (obj; contents[key]) { - if (obj.of_part != "empty") { + if (obj.typeinfo.of_part != "empty") { writefln( "[%s][%s]\n%s", obj.obj_cite_number, - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -190,7 +190,7 @@ debug(checkdoc) { foreach (obj; contents[key]) { writefln( "[%s]\n%s", - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -213,7 +213,7 @@ debug(checkdoc) { writefln( "[%s][%s]\n%s", obj.obj_cite_number, - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -234,7 +234,7 @@ debug(section_head) { writefln( "[%s][%s]\n%s", obj.obj_cite_number, - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -292,7 +292,7 @@ debug(section_body) { writefln( "[%s][%s]\n%s", obj.obj_cite_number, - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -308,7 +308,7 @@ debug(toc_nav_dom) { enum DomTags { none, open, close, close_and_open, open_still, } foreach (sect; doc_matters.xml.keys_seq.seg) { foreach (obj; contents[sect]) { - if (obj.is_a == "heading") { + if (obj.typeinfo.is_a == "heading") { foreach_reverse (k; 0 .. 7) { switch (obj.dom_markedup[k]) { case DomTags.close : @@ -335,7 +335,7 @@ debug(toc_nav_dom) { writeln("--------------------"); foreach (sect; doc_matters.xml.keys_seq.seg) { foreach (obj; contents[sect]) { - if (obj.is_a == "heading") { + if (obj.typeinfo.is_a == "heading") { foreach_reverse (k; 0 .. 7) { switch (obj.dom_collapsed[k]) { case DomTags.close : @@ -394,7 +394,7 @@ debug(section_glossary) { writefln( "[%s][%s]\n%s", obj.obj_cite_number, - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -413,7 +413,7 @@ debug(section_bibliography) { writefln( "[%s][%s]\n%s", obj.obj_cite_number, - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -463,7 +463,7 @@ debug(blurb_section) { writefln( "[%s][%s]\n%s", obj.obj_cite_number, - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -482,11 +482,11 @@ debug(objects) { __LINE__, ); foreach (obj; contents[key]) { - if (obj.of_part != "empty") { + if (obj.typeinfo.of_part != "empty") { writefln( "* [%s][%s] %s", obj.obj_cite_number, - obj.is_a, + obj.typeinfo.is_a, obj.text ); } @@ -666,7 +666,7 @@ debug(anchor) { ); foreach (k; doc_matters.xml.keys_seq.seg) { foreach (obj; contents[k]) { - if (obj.is_a == "heading") { + if (obj.typeinfo.is_a == "heading") { writefln( "%s~ [%s] %s %s", obj.marked_up_level, @@ -688,7 +688,7 @@ debug(anchor) { debug(heading) { // heading foreach (k; doc_matters.xml.keys_seq.seg) { foreach (o; contents[k]) { - if (o.is_a == "heading") { + if (o.typeinfo.is_a == "heading") { writefln( "%s* %s\n (markup level: %s; collapsed level: %s)", replicate(" ", o.heading_lev_markup), @@ -714,7 +714,7 @@ debug(headings) { ); foreach (k; doc_matters.xml.keys_seq.seg) { foreach (obj; contents[k]) { - if (obj.is_a == "heading") { + if (obj.typeinfo.is_a == "heading") { writefln( "%s~ [%s] %s", obj.marked_up_level, |