NodeContent

A single piece of node content.

Members

Enums

Kind
enum Kind

Functions

opEquals
bool opEquals(NodeContent* other)

Compares node content for equality.

Properties

clone
NodeContent* clone [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

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
Array!char value;

The string value - either text or a D expression

Meta