Declaration
public static CuteNode ParseCuteML(
this string input
)
Summary
Parses the specified CuteML input.
Parameters
this string | input |
The CuteML text to parse. |
Returns
The resulting parse-tree.
Exceptions
- RT.Util.CuteMLParseException
Invalid syntax was encountered. The exception object contains the string index at which the error was
detected.
- System.ArgumentNullException
input was null.
Remarks
-
Tags are parsed into instances of CuteTag.
-
The top-level nodes are contained in an instance of CuteTag whose CuteTag.Tag
property is set to null.
-
All the literal text is parsed into instances of CuteText. All continuous text is
consolidated, so there are no two consecutive CuteText instances in any list of
children.