Encode a string tree into a YAML-like indented format where indentation, be default set at 2 spaces, indicates node depth.
YAML
2
The tree to be encoded.
Optional number of space characters that separate adjacent tree levels. Default is 2.
Optional
Encode a string tree into a
YAML-like indented format where indentation, be default set at2spaces, indicates node depth.Param: self
The tree to be encoded.
Param: indent
Optional number of space characters that separate adjacent tree levels. Default is
2.