Summary
Represents a node in the
EggsML parse tree that corresponds to a piece of text.
Constructors
|
Constructs a new EggsML text node. |
Instance methods
IEnumerable<ConsoleColoredString> | |
Generates a sequence of ConsoleColoredStrings from an EggsML parse tree by word-wrapping the
output at a specified character width. |
string | |
Reconstructs the original EggsML that is represented by this node. |
string | | Gets the text of this node and/or sub-nodes concatenated into one string. |
object | | Returns an XML representation of this EggsML node. |
Instance properties
bool | | Determines whether this node contains any textual content. |
int | | The index in the original string where this node starts. |
EggsTag | |
Gets a reference to the parent node of this node. The root node is the only one for which this property is
null. |
string | | The text contained in this node. |