schema-salad-d ~master (2021-11-30T07:56:22Z)
Home
Dub
Repo
Assign_
salad
meta
Undocumented in source.
template
Assign_
(string node, string field, T, bool typeDSL = false, idMap idMap_ = idMap.init)
template
Assign_ (
string
node
string
field
T
bool
typeDSL
= false
idMap
idMap_
=
idMap
.
init
)
if
(
!
isSumType
!
T
) {
import
std
.
format
:
format
;
;
import
std
.
traits
:
isArray
,
isSomeString
;
;
import
std
.
range
:
ElementType
,
empty
;
;
import
std
.
string
:
chomp
;
;
static if
(
!isSomeString!T && isArray!T
)
enum
AssignBase
;
static if
(
!isSomeString!T && isArray!T
)
static if
(
idMap_.subject.empty
)
enum
Assign_
;
static if
(
!isSomeString!T && isArray!T
)
static if
(!(
idMap_.subject.empty
))
static if
(
idMap_.predicate.empty
)
enum
Trans
;
static if
(
!isSomeString!T && isArray!T
)
static if
(!(
idMap_.subject.empty
))
static if
(!(
idMap_.predicate.empty
))
enum
Trans
;
static if
(
!isSomeString!T && isArray!T
)
static if
(!(
idMap_.subject.empty
))
enum
Assign_
;
static if
(!(
!isSomeString!T && isArray!T
))
enum
Assign_
;
}
template
Assign_
(string node, string field, T, bool typeDSL = false, idMap idMap_ = idMap.init)
Members
Manifest constants
AssignBase
enum
AssignBase
;
Undocumented in source.
Assign_
enum
Assign_
;
Undocumented in source.
Assign_
enum
Assign_
;
Undocumented in source.
Assign_
enum
Assign_
;
Undocumented in source.
Trans
enum
Trans
;
Undocumented in source.
Trans
enum
Trans
;
Undocumented in source.
Meta
Source
See Implementation
salad
meta
enums
hasIdentifier
isConstantMember
functions
ctorStr
stripLeftAll
mixin templates
genCtor
genIdentifier
genToString
structs
documentRoot
id
idMap
typeDSL
templates
ArrayDispatchStatement
Assign
Assign_
DispatchFun
DocumentRootType
EnumDispatchStatement
IdentifierType
RecordDispatchStatement