Output from draw_ascii_tree:
|
<Root>
/-----------------------\
| |
<Â> <ß>
/---+-----\ /---+---+---+---------\
| | | | | | | |
<â> <ä> <é> <®> <£> <€> <√> <×xX>
| | | /---+---+---\
<É> <Ñ> <©> | | | |
| <í> <ú> <«> <»>
<ñ>
|
<Ô>
/---\
| |
<ô> <ô>
Output from tree2string():
Root. Attributes: {}
|--- Â. Attributes: {# => "ÂÂ"}
| |--- â. Attributes: {# => "ââ"}
| | |--- É. Attributes: {# => "ÉÉ"}
| |--- ä. Attributes: {# => "ää"}
| |--- é. Attributes: {# => "éé"}
| |--- Ñ. Attributes: {# => "ÑÑ"}
| |--- ñ. Attributes: {# => "ññ"}
| |--- Ô. Attributes: {# => "ÔÔ"}
| |--- ô. Attributes: {# => "ôô"}
| |--- ô. Attributes: {# => "ôô"}
|--- ß. Attributes: {# => "ßß"}
|--- ®. Attributes: {# => "®®"}
| |--- ©. Attributes: {# => "©©"}
|--- £. Attributes: {# => "££"}
|--- €. Attributes: {# => "€€"}
|--- √. Attributes: {# => "√√"}
|--- ×xX. Attributes: {# => "×xX×xX"}
|--- í. Attributes: {# => "íí"}
|--- ú. Attributes: {# => "úú"}
|--- «. Attributes: {# => "««"}
|--- ». Attributes: {# => "»»"}
Output from decode_lol(tree_to_lol):
'É'
'â'
'ä'
'ô'
'ô'
'Ô'
'ñ'
'Ñ'
'é'
'Â'
'©'
'®'
'£'
'€'
'√'
'í'
'ú'
'«'
'»'
'×xX'
'ß'
'Root'
Output from tree_to_lol_notation({multiline => 0}):
[[[['É'],'â'],['ä'],[[[[['ô'],['ô'],'Ô'],'ñ'],'Ñ'],'é'],'Â'],[[['©'],'®'],['£'],['€'],['√'],[['í'],['ú'],['«'],['»'],'×xX'],'ß'],'Root'],
Output from tree_to_lol_notation({multiline => 1}):
[
[
[
[
'É'
],
'â'
],
[
'ä'
],
[
[
[
[
[
'ô'
],
[
'ô'
],
'Ô'
],
'ñ'
],
'Ñ'
],
'é'
],
'Â'
],
[
[
[
'©'
],
'®'
],
[
'£'
],
[
'€'
],
[
'√'
],
[
[
'í'
],
[
'ú'
],
[
'«'
],
[
'»'
],
'×xX'
],
'ß'
],
'Root'
],
Output from decode_lol(tree_to_simple_lol):
'É'
'ä'
'ô'
'ô'
'©'
'£'
'€'
'√'
'í'
'ú'
'«'
'»'
Output from tree_to_simple_lol_notation({multiline => 0}):
[[['É',], 'ä',[[[['ô','ô',], ], ], ], ], [['©',], '£','€','√',['í','ú','«','»',], ], ],
Output from tree_to_simple_lol_notation({multiline => 1}):
[
[
[
'É',
],
'ä',
[
[
[
[
'ô',
'ô',
],
],
],
],
],
[
[
'©',
],
'£',
'€',
'√',
[
'í',
'ú',
'«',
'»',
],
],
],