Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: ConsoleColoredString FromEggsNode(EggsNode)

Declaration

public static ConsoleColoredString FromEggsNode(
    EggsNode node
)

Summary

Constructs a ConsoleColoredString from an EggsML parse tree.

Parameters

EggsNodenode The root node of the EggsML parse tree.

Returns

The ConsoleColoredString constructed from the EggsML parse tree.

Remarks

The following EggsML tags map to the following console colors:

  • ~ = black, or dark gray if inside a * tag
  • / = dark blue, or blue if inside a * tag
  • $ = dark green, or green if inside a * tag
  • & = dark cyan, or cyan if inside a * tag
  • _ = dark red, or red if inside a * tag
  • % = dark magenta, or magenta if inside a * tag
  • ^ = dark yellow, or yellow if inside a * tag
  • = = dark gray (independent of * tag)

Text which is not inside any of the above color tags defaults to light gray, or white if inside a * tag.