schema-salad-d ~master (2021-11-30T07:56:22Z)
Home
Dub
Repo
RecordDispatchStatement.RecordDispatchStatement
salad
meta
RecordDispatchStatement
Undocumented in source.
enum
RecordDispatchStatement
;
enum
RecordDispatchStatement
;
template
RecordDispatchStatement
(RetType, RecordTypes...)
static if
(!(
RecordTypes.length == 1
))
enum
RecordDispatchStatement
=
format
!
q"EOS if (a.type == NodeType.mapping) { switch(a.edig("%1$s").as!string) { %2$s %3$s } } EOS"
(
RecordTypeName
[
0
.. $ -
1
], [
staticMap
!(
RecordCaseStr
,
Filter
!(
isDispatchable
,
RecordTypes
))].
joiner
(
""
).
array
,
DefaultCaseStr
)
;
Meta
Source
See Source File
salad
meta
RecordDispatchStatement
aliases
NonDispatchableRecords
enums
ConstantMembersOf
RecordCaseStr
isDispatchable
manifest constants
DefaultCaseStr
RecordDispatchStatement
RecordTypeName