aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_defaults.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-12-05 12:09:04 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:13 -0400
commitdb683b9403998ea66cb982d28a3c365eb99ec2e1 (patch)
tree2f160cdd5eb4eed69e8131822f224cca0d4d4ecb /src/sdp/ao_defaults.d
parentstart work on node info, a way to go (diff)
0.9.4 node info, changes to variables & types
Diffstat (limited to 'src/sdp/ao_defaults.d')
-rw-r--r--src/sdp/ao_defaults.d40
1 files changed, 21 insertions, 19 deletions
diff --git a/src/sdp/ao_defaults.d b/src/sdp/ao_defaults.d
index 4408cc8..4883540 100644
--- a/src/sdp/ao_defaults.d
+++ b/src/sdp/ao_defaults.d
@@ -351,26 +351,28 @@ template SiSUrgxInitFlags() {
}
}
template SiSUnode() {
- string[string][string] node_metadata() {
- auto node_ = [
- "object" : [
- "is" : "",
- "heading_ptr" : "",
- "doc_object_ptr" : "",
- "obj_cite_number" : "",
- "segment_anchor_tag" : "",
- "parent_obj_cite_number" : "",
- "parent_lev_markup_number" : "",
- ],
- "heading" : [
- "html_segnames_ptr" : "",
- "lev_markup_number" : "",
- "lev_collapsed_number" : "",
- // "ancestors" : "",
- // "open_headings_to_close" : "",
- ],
+ string[string] node_metadata_str() {
+ auto _node = [
+ "is" : "",
+ "ocn" : "",
+ "marked_up_lev" : "",
+ "segment_anchor_tag" : "",
+ "attrib" : "",
+ ];
+ return _node;
+ }
+ int[string] node_metadata_int() {
+ auto _node = [
+ "ocn" : 0, // decide whether to use or keep?
+ "ptr_doc_object" : 0,
+ "ptr_html_segnames" : 0,
+ "ptr_heading" : 0,
+ "heading_lev_markup" : 9,
+ "heading_lev_collapsed" : 9,
+ "parent_ocn" : 0,
+ "parent_lev_markup" : 9,
];
- return node_;
+ return _node;
}
}
template SiSUbiblio() {