aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/ocda
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-06 18:11:56 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-09 17:07:32 -0400
commit204afb453c630bba44fdc975d4186922a4331299 (patch)
tree6607f4b97c14f6803b8bcc3b6be0296710cf3589 /src/sisudoc/ocda
parentsisu markup sample .sst edits (diff)
ocda: remove dead fields
remove four dead fields, two of them serialised, none of the them were assigned (or called for reading). (assisted by Claude-Code)
Diffstat (limited to 'src/sisudoc/ocda')
-rw-r--r--src/sisudoc/ocda/abstraction/ssp.d18
-rw-r--r--src/sisudoc/ocda/meta/metadoc_object_setter.d9
2 files changed, 13 insertions, 14 deletions
diff --git a/src/sisudoc/ocda/abstraction/ssp.d b/src/sisudoc/ocda/abstraction/ssp.d
index 5f510f3..fc7dbd3 100644
--- a/src/sisudoc/ocda/abstraction/ssp.d
+++ b/src/sisudoc/ocda/abstraction/ssp.d
@@ -315,9 +315,9 @@ template spineAbstractionTxt() {
if (obj.metainfo.object_number_off) {
output ~= ".ocn_off: true";
}
- if (obj.metainfo.o_n_type != 0) {
- output ~= ".o_n_type: " ~ obj.metainfo.o_n_type.to!string;
- }
+ // if (obj.metainfo.o_n_type != 0) {
+ // output ~= ".o_n_type: " ~ obj.metainfo.o_n_type.to!string;
+ // }
if (obj.metainfo.is_of_type.length > 0) {
output ~= ".is_of_type: " ~ obj.metainfo.is_of_type;
}
@@ -403,15 +403,15 @@ template spineAbstractionTxt() {
if (obj.table.heading) {
output ~= ".table_header: true";
}
- if (obj.table.walls) {
- output ~= ".table_walls: true";
- }
+ // if (obj.table.walls) {
+ // output ~= ".table_walls: true";
+ // }
}
/+ ↓ code block properties +/
if (obj.metainfo.is_a == "code") {
- if (obj.code_block.syntax.length > 0) {
- output ~= ".code_syntax: " ~ obj.code_block.syntax;
- }
+ // if (obj.code_block.syntax.length > 0) {
+ // output ~= ".code_syntax: " ~ obj.code_block.syntax;
+ // }
if (obj.code_block.linenumbers) {
output ~= ".code_linenumbers: true";
}
diff --git a/src/sisudoc/ocda/meta/metadoc_object_setter.d b/src/sisudoc/ocda/meta/metadoc_object_setter.d
index a1f6a86..e7ff88b 100644
--- a/src/sisudoc/ocda/meta/metadoc_object_setter.d
+++ b/src/sisudoc/ocda/meta/metadoc_object_setter.d
@@ -74,10 +74,10 @@ template ObjectSetter() {
double[] column_widths = [];
string[] column_aligns = [];
bool heading = false;
- bool walls = false;
+ // bool walls = false;
}
struct DocObj_CodeBlock_ {
- string syntax = "";
+ // string syntax = "";
bool linenumbers = false;
}
struct DocObj_Stow_ {
@@ -171,11 +171,10 @@ template ObjectSetter() {
bool object_number_off = false;
bool visible_object_number = false;
int object_number_type = 0; // { ocn, non, bkidx }
- /+ node +/
- string[string][string] node;
+ // string[string][string] node;
int ocn = 0;
string identifier = "";
- int o_n_type = 0;
+ // int o_n_type = 0;
int heading_lev_markup = 9;
int heading_lev_collapsed = 9;
bool dummy_heading = false;