TextNode public protocol TextNode: LeafNode Represents a node with a text value. text The text value associated with this node. Declaration Swift var text: String nodeValue Extension method The nodeValue of a TextNode node is its text property. Declaration Swift public final var nodeValue: String?