aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_abstract_doc_source.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/ao_abstract_doc_source.d')
-rw-r--r--src/sdp/ao_abstract_doc_source.d23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/sdp/ao_abstract_doc_source.d b/src/sdp/ao_abstract_doc_source.d
index 27a78b7..067e920 100644
--- a/src/sdp/ao_abstract_doc_source.d
+++ b/src/sdp/ao_abstract_doc_source.d
@@ -5,14 +5,12 @@
template SiSUdocAbstraction() {
private:
struct Abstraction {
-
/+ ↓ abstraction imports +/
import
ao_defaults, // sdp/ao_defaults.d
ao_object_setter, // sdp/ao_object_setter.d
ao_rgx, // sdp/ao_rgx.d
ao_ansi_colors; // sdp/ao_ansi_colors.d
-
/+ ↓ abstraction mixins +/
mixin ObjectSetter;
mixin InternalMarkup;
@@ -20,17 +18,13 @@ template SiSUdocAbstraction() {
// // mixin AssertionsOnBlocks;
// mixin SiSUbiblio; // issue
// mixin SiSUheader;
-
/+ ↓ abstraction struct init +/
/+ initialize +/
-
auto rgx = Rgx();
ObjComposite[] contents_the_objects;
-
string[string] an_object, processing;
auto set_abstract_object = ObjectAbstractSet();
auto note_section = NotesSection();
-
/+ enum +/
enum State { off, on }
enum TriState { off, on, closing } // make aware, possibility of third state
@@ -47,33 +41,27 @@ template SiSUdocAbstraction() {
content_non_header
} // header section A-D; header text 1-4
enum DocStructCollapsedHeading { lv0, lv1, lv2, lv3, lv4, lv5, lv6, lv7 } // not yet used
-
/+ biblio variables +/
string biblio_tag_name, biblio_tag_entry, st;
string[] biblio_arr_json;
JSONValue[] bib_arr_json;
int bib_entry;
-
/+ counters +/
long counter, previous_count;
int[string] line_occur;
int verse_line, heading_pointer;
-
/+ paragraph attributes +/
string[string] indent;
bool bullet = true;
string content_non_header = "8";
-
auto obj_im = ObjInlineMarkup();
auto obj_att = ObjAttrib();
-
/+ ocn +/
int obj_cite_number, obj_cite_number_;
auto object_citation_number = OCNemitter();
int obj_cite_number_emit(int obj_cite_number_status_flag) {
return object_citation_number.obj_cite_number_emitter(obj_cite_number_status_flag);
}
-
/+ book index variables +/
string book_idx_tmp;
string[][string][string] bookindex_unordered_hashes;
@@ -81,7 +69,6 @@ template SiSUdocAbstraction() {
string[][string][string] bkidx_hash(string bookindex_section, int obj_cite_number) {
return bookindex_extract_hash.bookindex_nugget_hash(bookindex_section, obj_cite_number);
}
-
/+ node +/
string node;
auto node_construct = NodeStructureMetadata();
@@ -118,7 +105,6 @@ template SiSUdocAbstraction() {
);
}
// mixin SiSUdocAbstractionFunctions;
-
/+ ↓ abstract marked up document +/
auto abstract_doc_source(
char[][] markup_sourcefile_content,
@@ -206,11 +192,9 @@ template SiSUdocAbstraction() {
"h_4": regex(r"^(none)")
];
/+ abstraction init ↑ +/
-
/+ ↓ loop markup document/text line by line +/
srcDocLoop:
foreach (line; markup_sourcefile_content) {
-
/+ ↓ markup document/text line by line +/
/+ scope +/
scope(exit) {
@@ -510,7 +494,6 @@ template SiSUdocAbstraction() {
}
}
} /+ ← closed: loop markup document/text line by line +/
-
/+ ↓ post loop markup document/text +/
debug(objectrelated2) { // check
tell_l("blue", line);
@@ -644,9 +627,7 @@ template SiSUdocAbstraction() {
);
return t;
/+ post loop markup document/text ↑ +/
-
} /+ ← closed: abstract doc source +/
-
/+ ↓ abstraction functions +/
auto object_reset(ref string[string] an_object) {
an_object.remove("obj");
@@ -1960,7 +1941,6 @@ template SiSUdocAbstraction() {
}
}
/+ abstraction functions ↑ +/
-
/+ ↓ abstraction function emitters +/
struct OCNemitter {
// class OCNemitter : AssertOCN {
@@ -3174,7 +3154,6 @@ template SiSUdocAbstraction() {
}
}
/+ abstraction functions emitters ↑ +/
-
/+ ↓ abstraction functions assertions +/
auto assertions_doc_structure(string[string] an_object, int[string] lv) {
if (lv["h3"] > State.off) {
@@ -3371,7 +3350,5 @@ template SiSUdocAbstraction() {
"block status: off or closing");
}
/+ abstraction functions assertions ↑ +/
-
} /+ ← closed: struct Abstraction +/
-
} /+ ← closed: template SiSUdocAbstraction +/