source: pyyaml/trunk/tests/data/resolver.path @ 137

Revision 137, 792 bytes checked in by xi, 9 years ago (diff)

Refactor resolver.

Line 
1--- !root/scalar
2"this scalar should be selected"
3--- !root
4key11: !foo
5    key12: !root/key11/key12/*
6        is: [selected]
7    key22:
8        key13: [not, selected]
9        key23: [not, selected]
10    key32:
11        key31: [not, selected]
12        key32: [not, selected]
13        key33: {not: selected}
14key21: !bar
15    - not selected
16    - !root/key21/1/* selected
17    - not selected
18key31: !baz
19    key12:
20        key13:
21            key14: !root/key31/*/*/key14/map {selected}
22        key23:
23            key14: [not, selected]
24        key33:
25            key14: !root/key31/*/*/key14/map {selected}
26            key24: {not: selected}
27    key22:
28        -   key14: !root/key31/*/*/key14/map {selected}
29            key24: {not: selected}
30        -   key14: !root/key31/*/*/key14/map {selected}
Note: See TracBrowser for help on using the repository browser.