vibe.d beta banner
get vibe.d
0.10.1

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

Function Node.addText

Adds a piece of text to the node's contents.

void addText (
  string text,
  in const(Location) loc
) nothrow @safe;

If the node already has some content and the last piece of content is also text, with a matching location, the text will be appended to that NodeContent's value. Otherwise, a new NodeContent will be appended.

Parameters

NameDescription
text The text to append to the node
loc Location in the source file
Authors
Copyright
License