--- &test-6JQW
Title: Spec Example 2.13. In literals, newlines are preserved
Tags: [ comment, literal, scalar, spec ]
# ASCII Art
--- |
\//||\/||
// || ||__
+STR
+DOC ---
=VAL |\\//||\\/||\n// || ||__\n
-DOC
-STR
"\\//||\\/||\n// || ||__\n"
na
Line Col Char Byte Token|Content
1 0 0 0 +COMM|
1 0 0 0 =SYNX|#
1 1 1 1 =META|.ASCII.Art
1 11 11 11 -COMM|
1 11 11 11 =EOL |\x0a
2 0 12 12 +DOC |
2 0 12 12 =HEAD|---
2 3 15 15 +NODE|
2 3 15 15 =WSPC|.
2 4 16 16 +VAL |
2 4 16 16 =SYNX||
2 5 17 17 =EOL |\x0a
3 0 18 18 =DENT|..
3 2 20 20 =TEXT|\x5c//||\x5c/||
3 11 29 29 =NEWL|\x0a
4 0 30 30 =DENT|..
4 2 32 32 =TEXT|//.||..||__
4 13 43 43 =NEWL|\x0a
5 0 44 44 -VAL |
5 0 44 44 -NODE|
5 0 44 44 -DOC |
na
'\\//||\\/||
// || ||__
'
na
'\\//||\\/||
// || ||__
'
na
'\\//||\\/||
// || ||__
'
na
'\\//||\\/||
// || ||__
'
na
'\\//||\\/||
// || ||__
'
na
'\\//||\\/||
// || ||__
'
na
'\\//||\\/||\n// || ||__\n'
na
'\\//||\\/||\n// || ||__\n'