Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.CuteText

Summary

Represents a node in the CuteML parse tree that corresponds to a piece of text.

Remarks

Constructs a new CuteML text node.

Constructors

CuteText(string text, int index = 0)
Represents a node in the CuteML parse tree that corresponds to a piece of text. (see also remarks)

Instance methods

IEnumerable<ConsoleColoredString>
ToConsoleColoredStrings(int wrapWidth = 2147483647, int hangingIndent = 0)
Generates a sequence of ConsoleColoredStrings from a CuteML parse tree by word-wrapping the output at a specified character width. (see also remarks)
string
  • Overrides: object.ToString()
Returns the contained text in CuteML-escaped form.
string
ToString(bool excludeSyntax)
Gets the text of this node and/or sub-nodes concatenated into one string.
objectReturns an XML representation of this EggsML node.

Instance properties

boolDetermines whether this node contains any textual content.
intThe 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.
stringThe text contained in this node.