--- &test-TE2A
Title: Spec Example 8.16. Block Mappings
Tags: [ mapping, spec ]
block mapping:
key: value
+STR
+DOC
+MAP
=VAL :block mapping
+MAP
=VAL :key
=VAL :value
-MAP
-MAP
-DOC
-STR
{
"block mapping": {
"key": "value"
}
}
na
Line Col Char Byte Token|Content
1 0 0 0 +DOC |
1 0 0 0 +NODE|
1 0 0 0 +MAP |
1 0 0 0 +PAIR|
1 0 0 0 +NODE|
1 0 0 0 +VAL |
1 0 0 0 =TEXT|block.mapping
1 13 13 13 -VAL |
1 13 13 13 -NODE|
1 13 13 13 =SYNX|:
1 14 14 14 +NODE|
1 14 14 14 =EOL |\x0a
2 0 15 15 +MAP |
2 0 15 15 =DENT|.
2 1 16 16 +PAIR|
2 1 16 16 +NODE|
2 1 16 16 +VAL |
2 1 16 16 =TEXT|key
2 4 19 19 -VAL |
2 4 19 19 -NODE|
2 4 19 19 =SYNX|:
2 5 20 20 =WSPC|.
2 6 21 21 +NODE|
2 6 21 21 +VAL |
2 6 21 21 =TEXT|value
2 11 26 26 -VAL |
2 11 26 26 -NODE|
2 11 26 26 =EOL |\x0a
3 0 27 27 -PAIR|
3 0 27 27 -MAP |
3 0 27 27 -NODE|
3 0 27 27 -PAIR|
3 0 27 27 -MAP |
3 0 27 27 -NODE|
3 0 27 27 -DOC |
na
{
'block mapping' => {
'key' => 'value'
}
}
na
{
'block mapping' => {
'key' => 'value'
}
}
na
{
'block mapping' => {
'key' => 'value'
}
}
na
{
'block mapping' => {
'key' => 'value'
}
}
na
{
'block mapping' => {
'key' => 'value'
}
}
na
{
'block mapping' => {
'key' => 'value'
}
}
na
{'block mapping': {'key': 'value'}}
na
{'block mapping': {'key': 'value'}}