darg-plus v2.2.0 (2020-06-18T14:09:29Z)
Dub
Repo
configNamesOf
darg_plus
configfile
Undocumented in source.
template
configNamesOf (
alias
symbol
) {
import
std
.
array
:
split
;
;
import
std
.
traits
:
getUDAs
;
;
alias
optUDAs
=
getUDAs
!(
symbol
,
Option
)
;
alias
argUDAs
=
getUDAs
!(
symbol
,
Argument
)
;
static if
(
argUDAs.length > 0
)
enum
argName
;
static if
(
optUDAs.length > 0 && argUDAs.length > 0
)
enum
configNamesOf
;
static if
(!(
optUDAs.length > 0 && argUDAs.length > 0
))
static if
(
optUDAs.length > 0
)
enum
configNamesOf
;
static if
(!(
optUDAs.length > 0 && argUDAs.length > 0
))
static if
(!(
optUDAs.length > 0
))
static if
(
argUDAs.length > 0
)
enum
configNamesOf
;
static if
(!(
optUDAs.length > 0 && argUDAs.length > 0
))
static if
(!(
optUDAs.length > 0
))
static if
(!(
argUDAs.length > 0
))
enum
string
[]
configNamesOf
;
}
Members
Aliases
argUDAs
alias
argUDAs
=
getUDAs
!(
symbol
,
Argument
)
Undocumented in source.
optUDAs
alias
optUDAs
=
getUDAs
!(
symbol
,
Option
)
Undocumented in source.
Manifest constants
argName
enum
argName
;
Undocumented in source.
configNamesOf
enum
configNamesOf
;
Undocumented in source.
configNamesOf
enum
configNamesOf
;
Undocumented in source.
configNamesOf
enum
configNamesOf
;
Undocumented in source.
Variables
configNamesOf
enum
string
[]
configNamesOf
;
Undocumented in source.
Meta
Source
See Implementation
darg_plus
configfile
classes
ConfigFileException
enums
SizeUnit
functions
assignConfigValue
enforce
fromBytes
getConfigValue
parseConfig
readConfigFile
retroInitFromConfig
toBytes
validateConfig
validateConfigFile
manifest constants
configCommentPrefix
configEmptyArgument
maxConfigSize
templates
configNamesOf