Summary
Represents a node in the CuteML parse tree that corresponds to a CuteML tag or the top-level node.
Constructors
CuteTag(char? tag, string attribute, int index) |
Constructs a new CuteML parse-tree node that represents a CuteML tag. |
Instance methods
IEnumerable<ConsoleColoredString> | |
Generates a sequence of ConsoleColoredStrings from a CuteML parse tree by word-wrapping the output
at a specified character width. |
string | | Converts the CuteML parse tree back into CuteML mark-up. |
string | | Gets the text of this node and/or sub-nodes concatenated into one string. |
object | | Returns an XML representation of this CuteML node. |
Instance properties
string | | The attribute data associated with the tag, or null if no attribute data was specified. |
ReadOnlyCollection<CuteNode> | | The children of this node. |
bool | | Determines whether this node contains any textual content. |
int | | The index in the original string where this node starts. |
CuteTag | | Gets a reference to the parent node of this node. The root node is the only one for which this property is null. |
char? | | The character that constitutes the tag name (e.g. * ), or null if this is the top-level node. |