Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: EggsNode Parse(string)

Declaration

public static EggsNode Parse(
    string input
)

Summary

Parses the specified EggsML input.

Parameters

stringinput The EggsML text to parse.

Returns

The resulting parse-tree.

Exceptions

  • RT.Util.EggsMLParseException
    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 EggsTag.
  • The top-level nodes are contained in an instance of EggsTag whose EggsTag.Tag property is set to null.
  • All the literal text is parsed into instances of EggsText. All continuous text is consolidated, so there are no two consecutive EggsText instances in any list of children.