Struct AttributeContent
A single piece of an attribute value.
struct AttributeContent
;
Fields
Name | Type | Description |
---|---|---|
kind
|
AttributeContent | Kind of this attribute content |
value
|
string | The value - either text or a D expression |
Methods
Name | Description |
---|---|
interpolation
(expression)
|
Creates a new string interpolation attribute content value. |
rawInterpolation
(expression)
|
Creates a new raw string interpolation attribute content value. |
text
(text)
|
Creates a new text attribute content value. |
Enums
Name | Description |
---|---|
Kind
|