spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
getCssKeyValue
spasm
css
Undocumented in source.
template
getCssKeyValue (
T
string
defaultName
) {
alias
symbol
=
Symbol
!(
T
,
defaultName
)
;
alias
Tchild
=
typeof
(
symbol
)
;
alias
names
=
FieldNameTuple
!
Tchild
;
alias
values
=
staticMap
!(
ApplyLeft
!(.
getCssKeyValue
,
Tchild
),
names
)
;
static if
(
isAggregateType!(typeof(symbol))
)
enum
getCssKeyValue
;
alias
names
=
getStringUDAs
!(
symbol
)
;
static if
(!(
isAggregateType!(typeof(symbol))
))
static if
(
names.length > 0
)
enum
name
;
static if
(!(
isAggregateType!(typeof(symbol))
))
static if
(!(
names.length > 0
))
enum
name
;
static if
(!(
isAggregateType!(typeof(symbol))
))
enum
getCssKeyValue
;
}
Members
Aliases
Tchild
alias
Tchild
=
typeof
(
symbol
)
Undocumented in source.
names
alias
names
=
FieldNameTuple
!
Tchild
Undocumented in source.
names
alias
names
=
getStringUDAs
!(
symbol
)
Undocumented in source.
symbol
alias
symbol
=
Symbol
!(
T
,
defaultName
)
Undocumented in source.
values
alias
values
=
staticMap
!(
ApplyLeft
!(.
getCssKeyValue
,
Tchild
),
names
)
Undocumented in source.
Manifest constants
getCssKeyValue
enum
getCssKeyValue
;
Undocumented in source.
getCssKeyValue
enum
getCssKeyValue
;
Undocumented in source.
name
enum
name
;
Undocumented in source.
name
enum
name
;
Undocumented in source.
Meta
Source
See Implementation
spasm
css
structs
ApplyStyle
Extend
ExtendedStyleSet
media
not
style
styleset
templates
GenerateCss
GenerateCssClass
GenerateCssClassName
GenerateCssSet
GenerateCssSetExtends
GenerateExtendedCssClass
GenerateExtendedStyleSetName
GenerateNamedCssClass
GenerateNestedCssClass
GenerateNestedCssClasses
GetCss
GetCssClassName
GetPseudoCssSelector
Symbol
TypeOf
chunk
cssIdentifierChar
cssIdentifierChar32
extractExtendedStyleSet
extractStyleSetStruct
extractStyleStruct
getCssKeyValue
getFullName
getStyleSet
getStyleSets
getStyleSetsExtends
getStyles
hasStyleSetUDA
hashChunk
isNonType
reduceChunks
toCss
toCssIdentifier
toCssIdentifier32
toCssName
toCssNameInsensitive
toCssProperty
xor