aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_emitters_and_interfaces.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/ao_emitters_and_interfaces.org')
-rw-r--r--org/ao_emitters_and_interfaces.org50
1 files changed, 25 insertions, 25 deletions
diff --git a/org/ao_emitters_and_interfaces.org b/org/ao_emitters_and_interfaces.org
index 0f80bc9..f19907f 100644
--- a/org/ao_emitters_and_interfaces.org
+++ b/org/ao_emitters_and_interfaces.org
@@ -3,10 +3,10 @@
#+EMAIL: ralph.amissah@gmail.com
#+STARTUP: indent
#+LANGUAGE: en
-#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t
+#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+OPTIONS: author:nil email:nil creator:nil timestamp:nil
-#+OPTIONS: ^:nil _:nil
+#+PROPERTY: header-args :padline no :exports none :noweb yes
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+FILETAGS: :sdp:rel:ao:
@@ -20,7 +20,7 @@ various emitters and their interfaces (where available)
** e: command line interface/instructions
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class CLI {
string[string] extract_actions(string cmdlnins, string[string] actions)
in { }
@@ -39,7 +39,7 @@ class CLI {
** e&i: ocn
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class OCNemitter : AssertOCN {
int ocn, ocn_;
int ocn_emitter(int ocn_status_flag)
@@ -58,7 +58,7 @@ class OCNemitter : AssertOCN {
#+END_SRC
*** interface assert :interface:assert:
#+name: ao_interface
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
interface AssertOCN {
int ocn_emitter(int ocn_status_flag)
in { assert(ocn_status_flag <= 2); }
@@ -68,7 +68,7 @@ interface AssertOCN {
** e: object attributes
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class ObjAttributes {
string[string] obj_txt;
string para_and_blocks(string obj_txt_in)
@@ -225,7 +225,7 @@ class ObjAttributes {
** e: object inline markup munge
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class ObjInlineMarkupMunge {
string[string] obj_txt;
int n_foot, n_foot_reg, n_foot_sp_asterisk, n_foot_sp_plus;
@@ -409,7 +409,7 @@ class ObjInlineMarkupMunge {
** e&i: object inline markup
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class ObjInlineMarkup : AssertObjInlineMarkup {
auto munge = new ObjInlineMarkupMunge();
string[string] obj_txt;
@@ -468,7 +468,7 @@ class ObjInlineMarkup : AssertObjInlineMarkup {
#+END_SRC
*** interface assert :interface:assert:
#+name: ao_interface
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
interface AssertObjInlineMarkup {
string obj_inline_markup(string obj_raw, string obj_type_)
in {
@@ -480,7 +480,7 @@ interface AssertObjInlineMarkup {
** e&i: object attrib
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class ObjAttrib : AssertObjAttrib {
auto attrib = new ObjAttributes();
string[string] obj_attrib;
@@ -570,7 +570,7 @@ class ObjAttrib : AssertObjAttrib {
#+END_SRC
*** interface assert :interface:assert:
#+name: ao_interface
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
interface AssertObjAttrib {
string obj_attributes(string obj_raw, string node, string obj_type_)
in {
@@ -582,7 +582,7 @@ interface AssertObjAttrib {
** e: header document metadata in json
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class HeaderDocMetadataMakeJson {
auto rgx = new Rgx();
string hm, hs;
@@ -777,7 +777,7 @@ class HeaderDocMetadataMakeJson {
** e: header document metadata as hash
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class HeaderMetadataMakeHash {
auto rgx = new Rgx();
string header_main;
@@ -830,7 +830,7 @@ class HeaderMetadataMakeHash {
** e&i: book index nugget hash
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class BookIndexNuggetHash : AssertBookIndexNuggetHash {
string main_term, sub_term, sub_term_bits;
uint ocn_offset, ocn_endpoint;
@@ -895,7 +895,7 @@ class BookIndexNuggetHash : AssertBookIndexNuggetHash {
#+END_SRC
*** interface assert :interface:assert:
#+name: ao_interface
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
interface AssertBookIndexNuggetHash {
string[][string][string] bookindex_nugget_hash(string bookindex, int ocn)
in {
@@ -916,7 +916,7 @@ interface AssertBookIndexNuggetHash {
** e&i: book index report
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class BookIndexReport {
int mkn, skn;
auto bookindex_report_sorted(
@@ -944,7 +944,7 @@ class BookIndexReport {
#+END_SRC
*** interface assert :interface:assert:
#+name: ao_interface
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
interface AssertBookIndexReport {
string[][string][][string][] bookindex_nugget_hash(string[][string][string] bookindex_unordered_hashes)
in {
@@ -954,7 +954,7 @@ interface AssertBookIndexReport {
** e: book index report indented
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class BookIndexReportIndent {
int mkn, skn;
auto bookindex_report_indented(
@@ -985,7 +985,7 @@ class BookIndexReportIndent {
** e: book index report section
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class BookIndexReportSection {
mixin ObjectSetters;
int mkn, skn;
@@ -1151,7 +1151,7 @@ class BookIndexReportSection {
** e: (end)notes section
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class NotesSection {
mixin ObjectSetters;
string object_notes;
@@ -1276,7 +1276,7 @@ class NotesSection {
** e: bibliography
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class Bibliography {
public JSONValue[] bibliography(string[] biblio_unsorted_incomplete)
in { }
@@ -1348,7 +1348,7 @@ class Bibliography {
** e&i: node structure metadata
*** emitter :emitter:
#+name: ao_emitter
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
class NodeStructureMetadata : AssertNodeJSON {
int lv, lv0, lv1, lv2, lv3, lv4, lv5, lv6, lv7;
uint ocn;
@@ -1475,7 +1475,7 @@ class NodeStructureMetadata : AssertNodeJSON {
*** interface assert :interface:assert:
#+name: ao_interface
-#+BEGIN_SRC d :exports none
+#+BEGIN_SRC d
interface AssertNodeJSON {
string node_emitter(
string lvn,
@@ -1578,7 +1578,7 @@ interface AssertNodeJSON {
* tangles :tangle:
** code structure: :ao_emitter.d:
#+name: tangle_ao_emitter
-#+BEGIN_SRC d :tangle ../lib/sdp/ao_emitter.d :padline no :exports none :noweb yes
+#+BEGIN_SRC d :tangle ../lib/sdp/ao_emitter.d
/*
emitters
ao_emitters.d
@@ -1590,7 +1590,7 @@ mixin template Emitters() {
#+END_SRC
** code structure: :ao_interface.d:
#+name: tangle_ao_interface
-#+BEGIN_SRC d :tangle ../lib/sdp/ao_interface.d :padline no :exports none :noweb yes
+#+BEGIN_SRC d :tangle ../lib/sdp/ao_interface.d
/*
interface
ao_interface.d