Construct a Representer.
Destroy the Representer.
Add a function to represent nodes with a specific data type.
Represent a mapping with specified _tag, representing children first.
Represent a _scalar with specified _tag.
Represent a _sequence with specified _tag, representing children first.
Set default _style for collections. If style is CollectionStyle.Invalid, the _style is chosen automatically.
Set default _style for scalars. If style is ScalarStyle.Invalid, the _style is chosen automatically.
Represents YAML nodes as scalar, sequence and mapping nodes ready for output.
This class is used to add support for dumping of custom data types.
It can also override default node formatting styles for output.