aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-07-31 08:14:57 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitc674fca7124ce4b8f9bd8b63ca590ae2a2526d76 (patch)
treed6100a19a9fbea053b4f2520abcff174d88ae272 /src
parentmeta doc abstraction summary (diff)
meta_abstraction, reduce side effect
Diffstat (limited to 'src')
-rw-r--r--src/sdp/meta/metadoc_from_src.d32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/sdp/meta/metadoc_from_src.d b/src/sdp/meta/metadoc_from_src.d
index ab7f883..8e9a8e4 100644
--- a/src/sdp/meta/metadoc_from_src.d
+++ b/src/sdp/meta/metadoc_from_src.d
@@ -1791,9 +1791,9 @@ template SiSUdocAbstraction() {
}
}
void _start_block_(L,T,N)(
- L line,
+ L line,
return ref T type,
- N obj_cite_number_poem
+ return ref N obj_cite_number_poem
) {
debug(asserts) {
static assert(is(typeof(line) == char[]));
@@ -1958,7 +1958,7 @@ template SiSUdocAbstraction() {
}
}
void _quote_block_(L,O,T)(
- return ref L line,
+ L line,
return ref O an_object,
return ref T type
) {
@@ -2001,7 +2001,7 @@ template SiSUdocAbstraction() {
}
}
void _group_block_(L,O,T)(
- return ref L line,
+ L line,
return ref O an_object,
return ref T type
) {
@@ -2044,7 +2044,7 @@ template SiSUdocAbstraction() {
}
}
void _block_block_(L,O,T)(
- return ref L line,
+ L line,
return ref O an_object,
return ref T type
) {
@@ -2087,12 +2087,12 @@ template SiSUdocAbstraction() {
}
}
void _poem_block_(L,O,T,C,N,Ma)(
- L line,
- return ref O an_object,
+ L line,
+ return ref O an_object,
return ref T type,
- return ref C cntr,
- N obj_cite_number_poem,
- Ma dochead_make_aa,
+ return ref C cntr,
+ N obj_cite_number_poem,
+ Ma dochead_make_aa,
) {
debug(asserts) {
static assert(is(typeof(line) == char[]));
@@ -2306,7 +2306,7 @@ template SiSUdocAbstraction() {
}
}
void _code_block_(L,O,T)(
- return ref L line,
+ L line,
return ref O an_object,
return ref T type
) {
@@ -2353,7 +2353,7 @@ template SiSUdocAbstraction() {
}
}
void _table_block_(L,O,T,Ma)(
- return ref L line,
+ L line,
return ref O an_object,
return ref T type,
return ref Ma dochead_make_aa
@@ -2999,8 +2999,8 @@ template SiSUdocAbstraction() {
}
}
auto _heading_make_set_(L,C,R,T)(
- L line,
- C line_occur,
+ L line,
+ C line_occur,
return ref R heading_match_rgx,
return ref T type
) {
@@ -3062,7 +3062,7 @@ template SiSUdocAbstraction() {
return line;
}
auto _heading_matched_(L,C,O,K,Lv,Lc,T,Me)(
- return ref L line,
+ L line,
return ref C line_occur,
return ref O an_object,
return ref K an_object_key,
@@ -3217,7 +3217,7 @@ template SiSUdocAbstraction() {
}
}
void _para_match_(L,O,K,I,B,T,C)(
- return ref L line,
+ L line, // watch
return ref O an_object,
return ref K an_object_key,
return ref I indent,