NodeContent

A single piece of node content.

Members

Enums

Kind
enum Kind

Functions

opEquals
bool opEquals(in ref NodeContent other)

Compares node content for equality.

Static functions

interpolation
NodeContent interpolation(string text, Location loc)

Creates a new string interpolation node content value.

rawInterpolation
NodeContent rawInterpolation(string text, Location loc)

Creates a new raw string interpolation node content value.

tag
NodeContent tag(Node node)

Creates a new child node content value.

text
NodeContent text(string text, Location loc)

Creates a new text node content value.

Variables

kind
Kind kind;

Kind of this node content

loc
Location loc;

Location of the content in the source file

node
Node node;

The node - only used for Kind.node

value
string value;

The string value - either text or a D expression

Meta