spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
GenerateExtendedCssClass
spasm
css
Undocumented in source.
template
GenerateExtendedCssClass (
alias
T
string
name
Child
) {
enum
isDirectExtendedStyle
;
enum
attributeSelector
;
alias
content
=
GenerateCss
!
T
;
alias
nestedClasses
=
GenerateNestedCssClasses
!(
attributeSelector
,
T
)
;
static if
(
isDirectExtendedStyle
)
enum
GenerateExtendedCssClass
;
alias
extendsAttrs
=
getUDAs
!(
T
,
Extend
)
;
alias
baseContent
=
GenerateCss
!
Base
;
alias
baseName
=
GenerateCssClassName
!
baseContent
;
static if
(!(
isDirectExtendedStyle
))
static if
(!(
!hasUDA!(T, Extend)
))
static if
(
is(extendsAttrs[0] : Extend!(Base), Base)
)
enum
GenerateExtendedCssClass
;
}
Members
Aliases
baseContent
alias
baseContent
=
GenerateCss
!
Base
Undocumented in source.
baseName
alias
baseName
=
GenerateCssClassName
!
baseContent
Undocumented in source.
content
alias
content
=
GenerateCss
!
T
Undocumented in source.
extendsAttrs
alias
extendsAttrs
=
getUDAs
!(
T
,
Extend
)
Undocumented in source.
nestedClasses
alias
nestedClasses
=
GenerateNestedCssClasses
!(
attributeSelector
,
T
)
Undocumented in source.
Manifest constants
GenerateExtendedCssClass
enum
GenerateExtendedCssClass
;
Undocumented in source.
GenerateExtendedCssClass
enum
GenerateExtendedCssClass
;
Undocumented in source.
attributeSelector
enum
attributeSelector
;
Undocumented in source.
isDirectExtendedStyle
enum
isDirectExtendedStyle
;
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