Struct NodeContent
A single piece of node content.
struct NodeContent
;
Fields
Name | Type | Description |
---|---|---|
kind
|
NodeContent | Kind of this node content |
loc
|
Location | Location of the content in the source file |
node
|
Node | The node - only used for Kind
|
value
|
string | The string value - either text or a D expression |
Properties
Name | Type | Description |
---|---|---|
clone [get]
|
NodeContent |
Methods
Name | Description |
---|---|
interpolation
(text, loc)
|
Creates a new string interpolation node content value. |
opEquals
(other)
|
Compares node content for equality. |
rawInterpolation
(text, loc)
|
Creates a new raw string interpolation node content value. |
tag
(node)
|
Creates a new child node content value. |
text
(text, loc)
|
Creates a new text node content value. |
Enums
Name | Description |
---|---|
Kind
|