vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Struct NodeContent

A single piece of node content.

struct NodeContent ;

Fields

NameTypeDescription
kind NodeContent.KindKind of this node content
loc LocationLocation of the content in the source file
node NodeThe node - only used for Kind.node
value stringThe string value - either text or a D expression

Properties

NameTypeDescription
clone[get] NodeContent

Methods

NameDescription
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

NameDescription
Kind
Authors
Copyright
License