aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_defaults.org
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 /org/ao_defaults.org
parentstart work on node info, a way to go (diff)
0.9.4 node info, changes to variables & types
Diffstat (limited to 'org/ao_defaults.org')
-rw-r--r--org/ao_defaults.org40
1 files changed, 21 insertions, 19 deletions
diff --git a/org/ao_defaults.org b/org/ao_defaults.org
index 4f9777c..39cfff8 100644
--- a/org/ao_defaults.org
+++ b/org/ao_defaults.org
@@ -392,26 +392,28 @@ template SiSUrgxInitFlags() {
#+name: ao_defaults_templates
#+BEGIN_SRC d
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;
}
}
#+END_SRC