Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (55 sloc) 495 Bytes
=== Various location of anchors in flow sequence
--- from: @perlpunk
--- tags: anchor flow
--- in-yaml
&flowseq [
a: b,
&c c: d,
{ &e e: f },
&g { g: h }
]
--- in-json
[
{
"a": "b"
},
{
"c": "d"
},
{
"e": "f"
},
{
"g": "h"
}
]
--- out-yaml
&flowseq
- a: b
- &c c: d
- &e e: f
- &g
g: h
--- test-event
+STR
+DOC
+SEQ &flowseq
+MAP
=VAL :a
=VAL :b
-MAP
+MAP
=VAL &c :c
=VAL :d
-MAP
+MAP
=VAL &e :e
=VAL :f
-MAP
+MAP &g
=VAL :g
=VAL :h
-MAP
-SEQ
-DOC
-STR
You can’t perform that action at this time.