stribog ~master (2015-03-26T23:38:34Z)
Dub
Repo
set.inner
stribog
meta
keyvalue
KeyValueList
set
Undocumented in source.
template
set
(KeyValues...)
template
inner (
KeyValues
...
) {
alias
Key
=
KeyValues
[
0
]
;
static if
(
KeyValues.length == 2
)
static if
(!(
is(KeyValues[0])
))
enum
Key
;
alias
Value
=
KeyValues
[
1
]
;
static if
(
KeyValues.length == 2
)
static if
(!(
is(KeyValues[1])
))
enum
Value
;
alias
inner
=
innerFind
!
Pairs
;
alias
inner
=
ExpressionList
!(
inner
!(
KeyValues
[
0
..$ /
2
]),
inner
!(
KeyValues
[$ /
2
..$]))
;
}
Members
Aliases
Key
alias
Key
=
KeyValues
[
0
]
Undocumented in source.
Value
alias
Value
=
KeyValues
[
1
]
Undocumented in source.
inner
alias
inner
=
ExpressionList
!(
inner
!(
KeyValues
[
0
..$ /
2
]),
inner
!(
KeyValues
[$ /
2
..$]))
Undocumented in source.
inner
alias
inner
=
innerFind
!
Pairs
Undocumented in source.
Manifest constants
Key
enum
Key
;
Undocumented in source.
Value
enum
Value
;
Undocumented in source.
Meta
Source
See Implementation
stribog
meta
keyvalue
KeyValueList
set
aliases
set
templates
inner