siryul ~master (2021-06-03T17:05:54Z)
Home
Dub
Repo
getConvertToFunc.getConvertToFunc
siryul
common
getConvertToFunc
Undocumented in source.
alias
getConvertToFunc
=
AliasSeq
!(
__traits
(
getMember
,
T
,
getUDAs
!(
member
,
CustomParser
)[
0
].
toFunc
))[
0
]
template
getConvertToFunc
(T, alias member)
package
static if
(
hasUDA!(member, CustomParser)
)
alias
getConvertToFunc
=
AliasSeq
!(__traits(
getMember
,
T
,
getUDAs
!(
member
,
CustomParser
)[0].
toFunc
))[0]
alias
getConvertToFunc
=
T
.
toSiryulHelper
!(
member
.
stringof
)
Meta
Source
See Implementation
siryul
common
getConvertToFunc
aliases
getConvertToFunc